<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: pdu.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('pdu_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">pdu.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Pre-defined constants that reflect defaults for CoAP.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="uri_8h_source.html">uri.h</a>&quot;</code><br />
<code>#include &lt;stdint.h&gt;</code><br />
</div>
<p><a href="pdu_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__option.html">coap_option</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">structure for CoAP PDUs token, if any, follows the fixed size header, then options until payload marker (0xff), then the payload if stored inline.  <a href="structcoap__pdu__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a347c9249800d5f80f75dbc7d3df96bb0" id="r_a347c9249800d5f80f75dbc7d3df96bb0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a347c9249800d5f80f75dbc7d3df96bb0">COAP_DEFAULT_PORT</a>&#160;&#160;&#160;5683 /* CoAP default UDP/TCP port */</td></tr>
<tr class="separator:a347c9249800d5f80f75dbc7d3df96bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6e43ca6d4347d1ecb3520098adfde8a" id="r_ab6e43ca6d4347d1ecb3520098adfde8a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab6e43ca6d4347d1ecb3520098adfde8a">COAPS_DEFAULT_PORT</a>&#160;&#160;&#160;5684 /* CoAP default UDP/TCP port for secure transmission */</td></tr>
<tr class="separator:ab6e43ca6d4347d1ecb3520098adfde8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a171a87c853e3bd8ecc0d0bcd84cf3fc7" id="r_a171a87c853e3bd8ecc0d0bcd84cf3fc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a171a87c853e3bd8ecc0d0bcd84cf3fc7">COAP_DEFAULT_MAX_AGE</a>&#160;&#160;&#160;60 /* default maximum object lifetime in seconds */</td></tr>
<tr class="separator:a171a87c853e3bd8ecc0d0bcd84cf3fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd9e29989066f01c6951113d951cd158" id="r_acd9e29989066f01c6951113d951cd158"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#acd9e29989066f01c6951113d951cd158">COAP_DEFAULT_MTU</a>&#160;&#160;&#160;1152</td></tr>
<tr class="separator:acd9e29989066f01c6951113d951cd158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0699fdab30ad7c9d875946691ce71ec5" id="r_a0699fdab30ad7c9d875946691ce71ec5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0699fdab30ad7c9d875946691ce71ec5">COAP_MESSAGE_SIZE_OFFSET_TCP8</a>&#160;&#160;&#160;13</td></tr>
<tr class="separator:a0699fdab30ad7c9d875946691ce71ec5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cf7ca17ad57bd10f72711c1dfd26816" id="r_a9cf7ca17ad57bd10f72711c1dfd26816"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9cf7ca17ad57bd10f72711c1dfd26816">COAP_MESSAGE_SIZE_OFFSET_TCP16</a>&#160;&#160;&#160;269 /* 13 + 256 */</td></tr>
<tr class="separator:a9cf7ca17ad57bd10f72711c1dfd26816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa60dcb2495491104cc4c0fc50267fed0" id="r_aa60dcb2495491104cc4c0fc50267fed0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aa60dcb2495491104cc4c0fc50267fed0">COAP_MESSAGE_SIZE_OFFSET_TCP32</a>&#160;&#160;&#160;65805 /* 269 + 65536 */</td></tr>
<tr class="separator:aa60dcb2495491104cc4c0fc50267fed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f9814965b00b7a98ae8b2a10b8be8b6" id="r_a8f9814965b00b7a98ae8b2a10b8be8b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8f9814965b00b7a98ae8b2a10b8be8b6">COAP_MAX_MESSAGE_SIZE_TCP0</a>&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#a0699fdab30ad7c9d875946691ce71ec5">COAP_MESSAGE_SIZE_OFFSET_TCP8</a>-1) /* 12 */</td></tr>
<tr class="separator:a8f9814965b00b7a98ae8b2a10b8be8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cda9d9606a85c72bb218ab9b1fbb3a8" id="r_a7cda9d9606a85c72bb218ab9b1fbb3a8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a7cda9d9606a85c72bb218ab9b1fbb3a8">COAP_MAX_MESSAGE_SIZE_TCP8</a>&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#a9cf7ca17ad57bd10f72711c1dfd26816">COAP_MESSAGE_SIZE_OFFSET_TCP16</a>-1) /* 268 */</td></tr>
<tr class="separator:a7cda9d9606a85c72bb218ab9b1fbb3a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed8d3a898b778a92637d2f2ef63d7fa3" id="r_aed8d3a898b778a92637d2f2ef63d7fa3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aed8d3a898b778a92637d2f2ef63d7fa3">COAP_MAX_MESSAGE_SIZE_TCP16</a>&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#aa60dcb2495491104cc4c0fc50267fed0">COAP_MESSAGE_SIZE_OFFSET_TCP32</a>-1) /* 65804 */</td></tr>
<tr class="separator:aed8d3a898b778a92637d2f2ef63d7fa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c762cc5eae22d39480d4fd9d4337b1b" id="r_a0c762cc5eae22d39480d4fd9d4337b1b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0c762cc5eae22d39480d4fd9d4337b1b">COAP_MAX_MESSAGE_SIZE_TCP32</a>&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#aa60dcb2495491104cc4c0fc50267fed0">COAP_MESSAGE_SIZE_OFFSET_TCP32</a>+0xFFFFFFFF)</td></tr>
<tr class="separator:a0c762cc5eae22d39480d4fd9d4337b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f6214c7fdd9c6141ef91ae6cc0262c5" id="r_a7f6214c7fdd9c6141ef91ae6cc0262c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a7f6214c7fdd9c6141ef91ae6cc0262c5">COAP_DEFAULT_MAX_PDU_RX_SIZE</a>&#160;&#160;&#160;(8*1024*1024+256)</td></tr>
<tr class="separator:a7f6214c7fdd9c6141ef91ae6cc0262c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c3a19627ef7a2960b7262bef940649a" id="r_a1c3a19627ef7a2960b7262bef940649a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1c3a19627ef7a2960b7262bef940649a">COAP_DEBUG_BUF_SIZE</a>&#160;&#160;&#160;(8 + 1024 * 2)</td></tr>
<tr class="separator:a1c3a19627ef7a2960b7262bef940649a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c672474161e3066719c36e983a0228" id="r_ac0c672474161e3066719c36e983a0228"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac0c672474161e3066719c36e983a0228">COAP_DEFAULT_VERSION</a>&#160;&#160;&#160;1 /* version of CoAP supported */</td></tr>
<tr class="separator:ac0c672474161e3066719c36e983a0228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6801b39119117f2a09b556e2c46ac3db" id="r_a6801b39119117f2a09b556e2c46ac3db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a6801b39119117f2a09b556e2c46ac3db">COAP_DEFAULT_SCHEME</a>&#160;&#160;&#160;&quot;coap&quot; /* the default scheme for CoAP URIs */</td></tr>
<tr class="separator:a6801b39119117f2a09b556e2c46ac3db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae988ff4a542f3add75af84433693c134" id="r_ae988ff4a542f3add75af84433693c134"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ae988ff4a542f3add75af84433693c134">COAP_DEFAULT_URI_WELLKNOWN</a>&#160;&#160;&#160;&quot;.well-known/core&quot;</td></tr>
<tr class="memdesc:ae988ff4a542f3add75af84433693c134"><td class="mdescLeft">&#160;</td><td class="mdescRight">well-known resources URI  <br /></td></tr>
<tr class="separator:ae988ff4a542f3add75af84433693c134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6ad49de4b14e7cf5bd0a2a1a87eef2f" id="r_ab6ad49de4b14e7cf5bd0a2a1a87eef2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab6ad49de4b14e7cf5bd0a2a1a87eef2f">COAP_MESSAGE_CON</a>&#160;&#160;&#160;0 /* confirmable message (requires ACK/RST) */</td></tr>
<tr class="separator:ab6ad49de4b14e7cf5bd0a2a1a87eef2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d16c2a7f279b2b6517b38d58347dead" id="r_a8d16c2a7f279b2b6517b38d58347dead"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8d16c2a7f279b2b6517b38d58347dead">COAP_MESSAGE_NON</a>&#160;&#160;&#160;1 /* non-confirmable message (one-shot message) */</td></tr>
<tr class="separator:a8d16c2a7f279b2b6517b38d58347dead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2a2b75edf2611bc01464bb182e4d781" id="r_ab2a2b75edf2611bc01464bb182e4d781"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab2a2b75edf2611bc01464bb182e4d781">COAP_MESSAGE_ACK</a>&#160;&#160;&#160;2 /* used to acknowledge confirmable messages */</td></tr>
<tr class="separator:ab2a2b75edf2611bc01464bb182e4d781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ca373ecc6b3ea33fa62791ce3d58c9a" id="r_a9ca373ecc6b3ea33fa62791ce3d58c9a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9ca373ecc6b3ea33fa62791ce3d58c9a">COAP_MESSAGE_RST</a>&#160;&#160;&#160;3 /* indicates error in received messages */</td></tr>
<tr class="separator:a9ca373ecc6b3ea33fa62791ce3d58c9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad44b3aac0828f23330a1f3e7a4e4af4e" id="r_ad44b3aac0828f23330a1f3e7a4e4af4e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad44b3aac0828f23330a1f3e7a4e4af4e">COAP_REQUEST_GET</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ad44b3aac0828f23330a1f3e7a4e4af4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a556c2df608a7939578ab4f6097188c13" id="r_a556c2df608a7939578ab4f6097188c13"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a556c2df608a7939578ab4f6097188c13">COAP_REQUEST_POST</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a556c2df608a7939578ab4f6097188c13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a180e6f6176662ba87fc857d3cfa97f6c" id="r_a180e6f6176662ba87fc857d3cfa97f6c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a180e6f6176662ba87fc857d3cfa97f6c">COAP_REQUEST_PUT</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a180e6f6176662ba87fc857d3cfa97f6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6750e42d35ffae3be6a65f6fbd095a6a" id="r_a6750e42d35ffae3be6a65f6fbd095a6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a6750e42d35ffae3be6a65f6fbd095a6a">COAP_REQUEST_DELETE</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a6750e42d35ffae3be6a65f6fbd095a6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab517c4f43048270f5b6fc3e9178a0b38" id="r_ab517c4f43048270f5b6fc3e9178a0b38"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab517c4f43048270f5b6fc3e9178a0b38">COAP_REQUEST_FETCH</a>&#160;&#160;&#160;5 /* RFC 8132 */</td></tr>
<tr class="separator:ab517c4f43048270f5b6fc3e9178a0b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26752282f6a426b8e767df6e51dc92be" id="r_a26752282f6a426b8e767df6e51dc92be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a26752282f6a426b8e767df6e51dc92be">COAP_REQUEST_PATCH</a>&#160;&#160;&#160;6 /* RFC 8132 */</td></tr>
<tr class="separator:a26752282f6a426b8e767df6e51dc92be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e43a5ec86653926ce8f55ae4dd2dd3d" id="r_a3e43a5ec86653926ce8f55ae4dd2dd3d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a3e43a5ec86653926ce8f55ae4dd2dd3d">COAP_REQUEST_IPATCH</a>&#160;&#160;&#160;7 /* RFC 8132 */</td></tr>
<tr class="separator:a3e43a5ec86653926ce8f55ae4dd2dd3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a046abe3d186a48612d11b098c515c33e" id="r_a046abe3d186a48612d11b098c515c33e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a046abe3d186a48612d11b098c515c33e">COAP_OPTION_IF_MATCH</a>&#160;&#160;&#160;1 /* C, opaque, 0-8 B, (none) */</td></tr>
<tr class="separator:a046abe3d186a48612d11b098c515c33e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a043c21277934001eacf3d14c0afb7485" id="r_a043c21277934001eacf3d14c0afb7485"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a043c21277934001eacf3d14c0afb7485">COAP_OPTION_URI_HOST</a>&#160;&#160;&#160;3 /* C, String, 1-255 B, destination address */</td></tr>
<tr class="separator:a043c21277934001eacf3d14c0afb7485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ae78716b8b32e7ced0390b77e615ec" id="r_ad8ae78716b8b32e7ced0390b77e615ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad8ae78716b8b32e7ced0390b77e615ec">COAP_OPTION_ETAG</a>&#160;&#160;&#160;4 /* E, opaque, 1-8 B, (none) */</td></tr>
<tr class="separator:ad8ae78716b8b32e7ced0390b77e615ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5324af9001287706f4742f67a7efba41" id="r_a5324af9001287706f4742f67a7efba41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a5324af9001287706f4742f67a7efba41">COAP_OPTION_IF_NONE_MATCH</a>&#160;&#160;&#160;5 /* empty, 0 B, (none) */</td></tr>
<tr class="separator:a5324af9001287706f4742f67a7efba41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac422f368eb8783d6d704311ed95796db" id="r_ac422f368eb8783d6d704311ed95796db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac422f368eb8783d6d704311ed95796db">COAP_OPTION_URI_PORT</a>&#160;&#160;&#160;7 /* C, uint, 0-2 B, destination port */</td></tr>
<tr class="separator:ac422f368eb8783d6d704311ed95796db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a582329ddaa47c4b24ae930251dd8dac4" id="r_a582329ddaa47c4b24ae930251dd8dac4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a582329ddaa47c4b24ae930251dd8dac4">COAP_OPTION_LOCATION_PATH</a>&#160;&#160;&#160;8 /* E, String, 0-255 B, - */</td></tr>
<tr class="separator:a582329ddaa47c4b24ae930251dd8dac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e932b05dd36e6becb0a689f15d07583" id="r_a5e932b05dd36e6becb0a689f15d07583"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a5e932b05dd36e6becb0a689f15d07583">COAP_OPTION_URI_PATH</a>&#160;&#160;&#160;11 /* C, String, 0-255 B, (none) */</td></tr>
<tr class="separator:a5e932b05dd36e6becb0a689f15d07583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d3a394e19dd218d3dc6681bbae4cb08" id="r_a0d3a394e19dd218d3dc6681bbae4cb08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0d3a394e19dd218d3dc6681bbae4cb08">COAP_OPTION_CONTENT_FORMAT</a>&#160;&#160;&#160;12 /* E, uint, 0-2 B, (none) */</td></tr>
<tr class="separator:a0d3a394e19dd218d3dc6681bbae4cb08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99007567c62f8f31404111b7bb888c6e" id="r_a99007567c62f8f31404111b7bb888c6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a99007567c62f8f31404111b7bb888c6e">COAP_OPTION_CONTENT_TYPE</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a0d3a394e19dd218d3dc6681bbae4cb08">COAP_OPTION_CONTENT_FORMAT</a></td></tr>
<tr class="separator:a99007567c62f8f31404111b7bb888c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72feffdb8f533e1e97c74c626f023b5" id="r_ad72feffdb8f533e1e97c74c626f023b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad72feffdb8f533e1e97c74c626f023b5">COAP_OPTION_MAXAGE</a>&#160;&#160;&#160;14 /* E, uint, 0--4 B, 60 Seconds */</td></tr>
<tr class="separator:ad72feffdb8f533e1e97c74c626f023b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41904e7f47afc7036b2841f770240820" id="r_a41904e7f47afc7036b2841f770240820"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a41904e7f47afc7036b2841f770240820">COAP_OPTION_URI_QUERY</a>&#160;&#160;&#160;15 /* C, String, 1-255 B, (none) */</td></tr>
<tr class="separator:a41904e7f47afc7036b2841f770240820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac97ca96f9b7abe9f196a72aa0ab4cfb0" id="r_ac97ca96f9b7abe9f196a72aa0ab4cfb0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac97ca96f9b7abe9f196a72aa0ab4cfb0">COAP_OPTION_ACCEPT</a>&#160;&#160;&#160;17 /* C, uint,   0-2 B, (none) */</td></tr>
<tr class="separator:ac97ca96f9b7abe9f196a72aa0ab4cfb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9348303bcb32e32a0ccc2e993a5eae10" id="r_a9348303bcb32e32a0ccc2e993a5eae10"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9348303bcb32e32a0ccc2e993a5eae10">COAP_OPTION_LOCATION_QUERY</a>&#160;&#160;&#160;20 /* E, String,   0-255 B, (none) */</td></tr>
<tr class="separator:a9348303bcb32e32a0ccc2e993a5eae10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef4ecdcc101e4c5ebc19c4f1c5daa3b" id="r_a0ef4ecdcc101e4c5ebc19c4f1c5daa3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0ef4ecdcc101e4c5ebc19c4f1c5daa3b">COAP_OPTION_SIZE2</a>&#160;&#160;&#160;28 /* E, uint, 0-4 B, (none) */</td></tr>
<tr class="separator:a0ef4ecdcc101e4c5ebc19c4f1c5daa3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa4bc1cb4312d809ecc99c8296fcef6" id="r_adaa4bc1cb4312d809ecc99c8296fcef6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#adaa4bc1cb4312d809ecc99c8296fcef6">COAP_OPTION_PROXY_URI</a>&#160;&#160;&#160;35 /* C, String, 1-1034 B, (none) */</td></tr>
<tr class="separator:adaa4bc1cb4312d809ecc99c8296fcef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fee152a1b03b715502c7a2db64d4f97" id="r_a2fee152a1b03b715502c7a2db64d4f97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a2fee152a1b03b715502c7a2db64d4f97">COAP_OPTION_PROXY_SCHEME</a>&#160;&#160;&#160;39 /* C, String, 1-255 B, (none) */</td></tr>
<tr class="separator:a2fee152a1b03b715502c7a2db64d4f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8184e545628a94eeb92a360b1a3f881e" id="r_a8184e545628a94eeb92a360b1a3f881e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8184e545628a94eeb92a360b1a3f881e">COAP_OPTION_SIZE1</a>&#160;&#160;&#160;60 /* E, uint, 0-4 B, (none) */</td></tr>
<tr class="separator:a8184e545628a94eeb92a360b1a3f881e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf17a37fe3a833c8120d5414313c8655" id="r_adf17a37fe3a833c8120d5414313c8655"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#adf17a37fe3a833c8120d5414313c8655">COAP_OPTION_OBSERVE</a>&#160;&#160;&#160;6 /* E, empty/uint, 0 B/0-3 B, (none) */</td></tr>
<tr class="separator:adf17a37fe3a833c8120d5414313c8655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1438c075cb0ec2d423a85fc206a80c89" id="r_a1438c075cb0ec2d423a85fc206a80c89"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1438c075cb0ec2d423a85fc206a80c89">COAP_OPTION_SUBSCRIPTION</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#adf17a37fe3a833c8120d5414313c8655">COAP_OPTION_OBSERVE</a></td></tr>
<tr class="separator:a1438c075cb0ec2d423a85fc206a80c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078cdb892664dd5f7ea708b7f403fa8d" id="r_a078cdb892664dd5f7ea708b7f403fa8d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a078cdb892664dd5f7ea708b7f403fa8d">COAP_OPTION_BLOCK2</a>&#160;&#160;&#160;23 /* C, uint, 0--3 B, (none) */</td></tr>
<tr class="separator:a078cdb892664dd5f7ea708b7f403fa8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a235851793201aed201b79926c0d9377f" id="r_a235851793201aed201b79926c0d9377f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a235851793201aed201b79926c0d9377f">COAP_OPTION_BLOCK1</a>&#160;&#160;&#160;27 /* C, uint, 0--3 B, (none) */</td></tr>
<tr class="separator:a235851793201aed201b79926c0d9377f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01d1357aea9ab79457f45e85b4f8a6ad" id="r_a01d1357aea9ab79457f45e85b4f8a6ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a01d1357aea9ab79457f45e85b4f8a6ad">COAP_OPTION_NORESPONSE</a>&#160;&#160;&#160;258 /* N, uint, 0--1 B, 0 */</td></tr>
<tr class="separator:a01d1357aea9ab79457f45e85b4f8a6ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9f23bdc6d33c916f8a9ce87bf60b990" id="r_ab9f23bdc6d33c916f8a9ce87bf60b990"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab9f23bdc6d33c916f8a9ce87bf60b990">COAP_MAX_OPT</a>&#160;&#160;&#160;65535</td></tr>
<tr class="memdesc:ab9f23bdc6d33c916f8a9ce87bf60b990"><td class="mdescLeft">&#160;</td><td class="mdescRight">the highest option number we know  <br /></td></tr>
<tr class="separator:ab9f23bdc6d33c916f8a9ce87bf60b990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651de743c1ff3168c875820cf327b1d6" id="r_a651de743c1ff3168c875820cf327b1d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(N)&#160;&#160;&#160;(((N)/100 &lt;&lt; 5) | (N)%100)</td></tr>
<tr class="separator:a651de743c1ff3168c875820cf327b1d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69a63fe3b38001521e87a71b2011750b" id="r_a69a63fe3b38001521e87a71b2011750b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a69a63fe3b38001521e87a71b2011750b">COAP_RESPONSE_CLASS</a>(C)&#160;&#160;&#160;(((C) &gt;&gt; 5) &amp; 0xFF)</td></tr>
<tr class="separator:a69a63fe3b38001521e87a71b2011750b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c38a0b197dc4908566f853af774cfdd" id="r_a4c38a0b197dc4908566f853af774cfdd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a4c38a0b197dc4908566f853af774cfdd">COAP_ERROR_PHRASE_LENGTH</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:a4c38a0b197dc4908566f853af774cfdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum length of error phrase  <br /></td></tr>
<tr class="separator:a4c38a0b197dc4908566f853af774cfdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7313fffc89cbc8fb3ffce8308411d1" id="r_a1f7313fffc89cbc8fb3ffce8308411d1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1f7313fffc89cbc8fb3ffce8308411d1">COAP_RESPONSE_200</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(200)  /* 2.00 OK */</td></tr>
<tr class="separator:a1f7313fffc89cbc8fb3ffce8308411d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21848097109c00379094151e6776ead8" id="r_a21848097109c00379094151e6776ead8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a21848097109c00379094151e6776ead8">COAP_RESPONSE_201</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(201)  /* 2.01 Created */</td></tr>
<tr class="separator:a21848097109c00379094151e6776ead8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61d757c753ddd28f302f17ce44bb30c" id="r_ab61d757c753ddd28f302f17ce44bb30c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab61d757c753ddd28f302f17ce44bb30c">COAP_RESPONSE_304</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(203)  /* 2.03 Valid */</td></tr>
<tr class="separator:ab61d757c753ddd28f302f17ce44bb30c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18ad51e8749f353e4bd3d2f08680dda0" id="r_a18ad51e8749f353e4bd3d2f08680dda0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a18ad51e8749f353e4bd3d2f08680dda0">COAP_RESPONSE_400</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(400)  /* 4.00 Bad Request */</td></tr>
<tr class="separator:a18ad51e8749f353e4bd3d2f08680dda0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2f7784d510119027fc449332a010cb9" id="r_ad2f7784d510119027fc449332a010cb9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad2f7784d510119027fc449332a010cb9">COAP_RESPONSE_404</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(404)  /* 4.04 Not Found */</td></tr>
<tr class="separator:ad2f7784d510119027fc449332a010cb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a444d5721d0e18cd7b83868df7ac1f85c" id="r_a444d5721d0e18cd7b83868df7ac1f85c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a444d5721d0e18cd7b83868df7ac1f85c">COAP_RESPONSE_405</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(405)  /* 4.05 Method Not Allowed */</td></tr>
<tr class="separator:a444d5721d0e18cd7b83868df7ac1f85c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac808e7858bd2d471a5a20d36c110e87c" id="r_ac808e7858bd2d471a5a20d36c110e87c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac808e7858bd2d471a5a20d36c110e87c">COAP_RESPONSE_415</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(415)  /* 4.15 Unsupported Media Type */</td></tr>
<tr class="separator:ac808e7858bd2d471a5a20d36c110e87c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96033c46c68ab1fd08c655a36fea43b1" id="r_a96033c46c68ab1fd08c655a36fea43b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a96033c46c68ab1fd08c655a36fea43b1">COAP_RESPONSE_500</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(500)  /* 5.00 Internal Server Error */</td></tr>
<tr class="separator:a96033c46c68ab1fd08c655a36fea43b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a696b2bf2ac3f1377f9f37f33885f54ff" id="r_a696b2bf2ac3f1377f9f37f33885f54ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a696b2bf2ac3f1377f9f37f33885f54ff">COAP_RESPONSE_501</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(501)  /* 5.01 Not Implemented */</td></tr>
<tr class="separator:a696b2bf2ac3f1377f9f37f33885f54ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fc517df88230dd8d9967d2c9328bd08" id="r_a1fc517df88230dd8d9967d2c9328bd08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1fc517df88230dd8d9967d2c9328bd08">COAP_RESPONSE_503</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(503)  /* 5.03 Service Unavailable */</td></tr>
<tr class="separator:a1fc517df88230dd8d9967d2c9328bd08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71175eecbbbad57a25a8c1c438e92f21" id="r_a71175eecbbbad57a25a8c1c438e92f21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a71175eecbbbad57a25a8c1c438e92f21">COAP_RESPONSE_504</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(504)  /* 5.04 Gateway Timeout */</td></tr>
<tr class="separator:a71175eecbbbad57a25a8c1c438e92f21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0510d7589c2bc0ee5767229c61f454c1" id="r_a0510d7589c2bc0ee5767229c61f454c1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0510d7589c2bc0ee5767229c61f454c1">COAP_RESPONSE_X_242</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(402)  /* Critical Option not supported */</td></tr>
<tr class="separator:a0510d7589c2bc0ee5767229c61f454c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a652dc0a109bcd30123471a714af405dc" id="r_a652dc0a109bcd30123471a714af405dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(N)&#160;&#160;&#160;(((N)/100 &lt;&lt; 5) | (N)%100)</td></tr>
<tr class="separator:a652dc0a109bcd30123471a714af405dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63bb73e0bfcbc80e6c4ba9e3c1f8ee32" id="r_a63bb73e0bfcbc80e6c4ba9e3c1f8ee32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a63bb73e0bfcbc80e6c4ba9e3c1f8ee32">COAP_SIGNALING_CSM</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(701)</td></tr>
<tr class="separator:a63bb73e0bfcbc80e6c4ba9e3c1f8ee32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8e9f46192e447fc87423e412a7cee7" id="r_adc8e9f46192e447fc87423e412a7cee7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#adc8e9f46192e447fc87423e412a7cee7">COAP_SIGNALING_PING</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(702)</td></tr>
<tr class="separator:adc8e9f46192e447fc87423e412a7cee7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3920fed2c2ffc3b40a9e495e47dfe17f" id="r_a3920fed2c2ffc3b40a9e495e47dfe17f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a3920fed2c2ffc3b40a9e495e47dfe17f">COAP_SIGNALING_PONG</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(703)</td></tr>
<tr class="separator:a3920fed2c2ffc3b40a9e495e47dfe17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3712b5b4c91bdacf40ae73f7f38070a" id="r_ad3712b5b4c91bdacf40ae73f7f38070a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad3712b5b4c91bdacf40ae73f7f38070a">COAP_SIGNALING_RELEASE</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(704)</td></tr>
<tr class="separator:ad3712b5b4c91bdacf40ae73f7f38070a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6d5cf87a33203370b28929a8364cc6a" id="r_af6d5cf87a33203370b28929a8364cc6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#af6d5cf87a33203370b28929a8364cc6a">COAP_SIGNALING_ABORT</a>&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(705)</td></tr>
<tr class="separator:af6d5cf87a33203370b28929a8364cc6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bbc4f5f7dc78bec5a7a9f74d88a20d" id="r_af5bbc4f5f7dc78bec5a7a9f74d88a20d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#af5bbc4f5f7dc78bec5a7a9f74d88a20d">COAP_SIGNALING_OPTION_MAX_MESSAGE_SIZE</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:af5bbc4f5f7dc78bec5a7a9f74d88a20d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ccd8621181b13b832efed665539dd62" id="r_a8ccd8621181b13b832efed665539dd62"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8ccd8621181b13b832efed665539dd62">COAP_SIGNALING_OPTION_BLOCK_WISE_TRANSFER</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a8ccd8621181b13b832efed665539dd62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1709ea7c61e18152310b537e09b6fee" id="r_ab1709ea7c61e18152310b537e09b6fee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab1709ea7c61e18152310b537e09b6fee">COAP_SIGNALING_OPTION_CUSTODY</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ab1709ea7c61e18152310b537e09b6fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6cc4d6c3d7399548623f421da67483" id="r_a0e6cc4d6c3d7399548623f421da67483"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0e6cc4d6c3d7399548623f421da67483">COAP_SIGNALING_OPTION_ALTERNATIVE_ADDRESS</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a0e6cc4d6c3d7399548623f421da67483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5f2b4c5c76e860d4b8b3aefeea91881" id="r_ae5f2b4c5c76e860d4b8b3aefeea91881"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ae5f2b4c5c76e860d4b8b3aefeea91881">COAP_SIGNALING_OPTION_HOLD_OFF</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:ae5f2b4c5c76e860d4b8b3aefeea91881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af537e146bc0612471000eac95108182e" id="r_af537e146bc0612471000eac95108182e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#af537e146bc0612471000eac95108182e">COAP_SIGNALING_OPTION_BAD_CSM_OPTION</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:af537e146bc0612471000eac95108182e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f565adeec61d504d063247cf31564d8" id="r_a8f565adeec61d504d063247cf31564d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8f565adeec61d504d063247cf31564d8">COAP_MEDIATYPE_TEXT_PLAIN</a>&#160;&#160;&#160;0 /* text/plain (UTF-8) */</td></tr>
<tr class="separator:a8f565adeec61d504d063247cf31564d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af39391900d8a44c795d391f60b0f3105" id="r_af39391900d8a44c795d391f60b0f3105"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#af39391900d8a44c795d391f60b0f3105">COAP_MEDIATYPE_APPLICATION_LINK_FORMAT</a>&#160;&#160;&#160;40 /* application/link-format */</td></tr>
<tr class="separator:af39391900d8a44c795d391f60b0f3105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa58704a0479deff4766549048c3cd73" id="r_afa58704a0479deff4766549048c3cd73"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#afa58704a0479deff4766549048c3cd73">COAP_MEDIATYPE_APPLICATION_XML</a>&#160;&#160;&#160;41 /* application/xml */</td></tr>
<tr class="separator:afa58704a0479deff4766549048c3cd73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56d85f5bc844c95e4d6b584d31834a39" id="r_a56d85f5bc844c95e4d6b584d31834a39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a56d85f5bc844c95e4d6b584d31834a39">COAP_MEDIATYPE_APPLICATION_OCTET_STREAM</a>&#160;&#160;&#160;42 /* application/octet-stream */</td></tr>
<tr class="separator:a56d85f5bc844c95e4d6b584d31834a39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d21922336021329a000fe4680626c39" id="r_a0d21922336021329a000fe4680626c39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0d21922336021329a000fe4680626c39">COAP_MEDIATYPE_APPLICATION_RDF_XML</a>&#160;&#160;&#160;43 /* application/rdf+xml */</td></tr>
<tr class="separator:a0d21922336021329a000fe4680626c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa61e56376db4d93552a96e84cf37bce5" id="r_aa61e56376db4d93552a96e84cf37bce5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aa61e56376db4d93552a96e84cf37bce5">COAP_MEDIATYPE_APPLICATION_EXI</a>&#160;&#160;&#160;47 /* application/exi  */</td></tr>
<tr class="separator:aa61e56376db4d93552a96e84cf37bce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9253ed37ff9a9bcce7d91d45173ef9d8" id="r_a9253ed37ff9a9bcce7d91d45173ef9d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9253ed37ff9a9bcce7d91d45173ef9d8">COAP_MEDIATYPE_APPLICATION_JSON</a>&#160;&#160;&#160;50 /* application/json  */</td></tr>
<tr class="separator:a9253ed37ff9a9bcce7d91d45173ef9d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a814585031d3ffce2f850d35b3bd122c9" id="r_a814585031d3ffce2f850d35b3bd122c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a814585031d3ffce2f850d35b3bd122c9">COAP_MEDIATYPE_APPLICATION_CBOR</a>&#160;&#160;&#160;60 /* application/cbor  */</td></tr>
<tr class="separator:a814585031d3ffce2f850d35b3bd122c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1712b77da2b90eae259be8af35210de8" id="r_a1712b77da2b90eae259be8af35210de8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1712b77da2b90eae259be8af35210de8">COAP_MEDIATYPE_APPLICATION_COSE_SIGN</a>&#160;&#160;&#160;98 /* application/cose; cose-type=&quot;cose-sign&quot;     */</td></tr>
<tr class="separator:a1712b77da2b90eae259be8af35210de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cf0068f700ffbdaa8d0f0a99ac36337" id="r_a4cf0068f700ffbdaa8d0f0a99ac36337"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a4cf0068f700ffbdaa8d0f0a99ac36337">COAP_MEDIATYPE_APPLICATION_COSE_SIGN1</a>&#160;&#160;&#160;18 /* application/cose; cose-type=&quot;cose-sign1&quot;    */</td></tr>
<tr class="separator:a4cf0068f700ffbdaa8d0f0a99ac36337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09ea807fb8f9d0b9f46735bf73d20c32" id="r_a09ea807fb8f9d0b9f46735bf73d20c32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a09ea807fb8f9d0b9f46735bf73d20c32">COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT</a>&#160;&#160;&#160;96 /* application/cose; cose-type=&quot;cose-encrypt&quot;  */</td></tr>
<tr class="separator:a09ea807fb8f9d0b9f46735bf73d20c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c95fabf7c478ef2b357f58bbb8355c5" id="r_a8c95fabf7c478ef2b357f58bbb8355c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8c95fabf7c478ef2b357f58bbb8355c5">COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT0</a>&#160;&#160;&#160;16 /* application/cose; cose-type=&quot;cose-encrypt0&quot; */</td></tr>
<tr class="separator:a8c95fabf7c478ef2b357f58bbb8355c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a063542e8d75785db65852cbaa6d30e37" id="r_a063542e8d75785db65852cbaa6d30e37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a063542e8d75785db65852cbaa6d30e37">COAP_MEDIATYPE_APPLICATION_COSE_MAC</a>&#160;&#160;&#160;97 /* application/cose; cose-type=&quot;cose-mac&quot;      */</td></tr>
<tr class="separator:a063542e8d75785db65852cbaa6d30e37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c90ef1e2f1a2060a8d2c0e3058e1ff" id="r_a94c90ef1e2f1a2060a8d2c0e3058e1ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a94c90ef1e2f1a2060a8d2c0e3058e1ff">COAP_MEDIATYPE_APPLICATION_COSE_MAC0</a>&#160;&#160;&#160;17 /* application/cose; cose-type=&quot;cose-mac0&quot;     */</td></tr>
<tr class="separator:a94c90ef1e2f1a2060a8d2c0e3058e1ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44c674ec60ab76dea6c7de917ee0ccf1" id="r_a44c674ec60ab76dea6c7de917ee0ccf1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a44c674ec60ab76dea6c7de917ee0ccf1">COAP_MEDIATYPE_APPLICATION_COSE_KEY</a>&#160;&#160;&#160;101 /* application/cose-key  */</td></tr>
<tr class="separator:a44c674ec60ab76dea6c7de917ee0ccf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33fd720e919ece23c1bf4b278ebd8a1c" id="r_a33fd720e919ece23c1bf4b278ebd8a1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a33fd720e919ece23c1bf4b278ebd8a1c">COAP_MEDIATYPE_APPLICATION_COSE_KEY_SET</a>&#160;&#160;&#160;102 /* application/cose-key-set  */</td></tr>
<tr class="separator:a33fd720e919ece23c1bf4b278ebd8a1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bc455497dd7ac793718f4aeeac55500" id="r_a9bc455497dd7ac793718f4aeeac55500"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9bc455497dd7ac793718f4aeeac55500">COAP_MEDIATYPE_APPLICATION_SENML_JSON</a>&#160;&#160;&#160;110 /* application/senml+json  */</td></tr>
<tr class="separator:a9bc455497dd7ac793718f4aeeac55500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f5296de280952065530924899146a5" id="r_ad9f5296de280952065530924899146a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad9f5296de280952065530924899146a5">COAP_MEDIATYPE_APPLICATION_SENSML_JSON</a>&#160;&#160;&#160;111 /* application/sensml+json */</td></tr>
<tr class="separator:ad9f5296de280952065530924899146a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d9519fd08a802b488b9146009e1e296" id="r_a3d9519fd08a802b488b9146009e1e296"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a3d9519fd08a802b488b9146009e1e296">COAP_MEDIATYPE_APPLICATION_SENML_CBOR</a>&#160;&#160;&#160;112 /* application/senml+cbor  */</td></tr>
<tr class="separator:a3d9519fd08a802b488b9146009e1e296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe8396fbe474c1a77f0740a8fc8daae9" id="r_afe8396fbe474c1a77f0740a8fc8daae9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#afe8396fbe474c1a77f0740a8fc8daae9">COAP_MEDIATYPE_APPLICATION_SENSML_CBOR</a>&#160;&#160;&#160;113 /* application/sensml+cbor */</td></tr>
<tr class="separator:afe8396fbe474c1a77f0740a8fc8daae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a668372945883b18372fac4a508a6701f" id="r_a668372945883b18372fac4a508a6701f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a668372945883b18372fac4a508a6701f">COAP_MEDIATYPE_APPLICATION_SENML_EXI</a>&#160;&#160;&#160;114 /* application/senml-exi   */</td></tr>
<tr class="separator:a668372945883b18372fac4a508a6701f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06a2ca7d45aff0de1b5fc18cd487443d" id="r_a06a2ca7d45aff0de1b5fc18cd487443d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a06a2ca7d45aff0de1b5fc18cd487443d">COAP_MEDIATYPE_APPLICATION_SENSML_EXI</a>&#160;&#160;&#160;115 /* application/sensml-exi  */</td></tr>
<tr class="separator:a06a2ca7d45aff0de1b5fc18cd487443d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac691ebda475149174e5fe3ecf452db30" id="r_ac691ebda475149174e5fe3ecf452db30"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac691ebda475149174e5fe3ecf452db30">COAP_MEDIATYPE_APPLICATION_SENML_XML</a>&#160;&#160;&#160;310 /* application/senml+xml   */</td></tr>
<tr class="separator:ac691ebda475149174e5fe3ecf452db30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10cdbcc1cf8cb2a30519a1df912d7ad9" id="r_a10cdbcc1cf8cb2a30519a1df912d7ad9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a10cdbcc1cf8cb2a30519a1df912d7ad9">COAP_MEDIATYPE_APPLICATION_SENSML_XML</a>&#160;&#160;&#160;311 /* application/sensml+xml  */</td></tr>
<tr class="separator:a10cdbcc1cf8cb2a30519a1df912d7ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12e77b2fac590bbe39b6c1b221e371c8" id="r_a12e77b2fac590bbe39b6c1b221e371c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a12e77b2fac590bbe39b6c1b221e371c8">COAP_MEDIATYPE_ANY</a>&#160;&#160;&#160;0xff /* any media type */</td></tr>
<tr class="separator:a12e77b2fac590bbe39b6c1b221e371c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe70beb6b87ece4aca2d2735c759c625" id="r_afe70beb6b87ece4aca2d2735c759c625"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#afe70beb6b87ece4aca2d2735c759c625">COAP_INVALID_TID</a>&#160;&#160;&#160;-1</td></tr>
<tr class="memdesc:afe70beb6b87ece4aca2d2735c759c625"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates an invalid transaction id.  <br /></td></tr>
<tr class="separator:afe70beb6b87ece4aca2d2735c759c625"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a489f4c3eb8344011cbc20bd0768d14ad" id="r_a489f4c3eb8344011cbc20bd0768d14ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a489f4c3eb8344011cbc20bd0768d14ad">COAP_DROPPED_RESPONSE</a>&#160;&#160;&#160;-2</td></tr>
<tr class="memdesc:a489f4c3eb8344011cbc20bd0768d14ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates that a response is suppressed.  <br /></td></tr>
<tr class="separator:a489f4c3eb8344011cbc20bd0768d14ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d4d36bdff1d1b8fe2edf092462eb2c7" id="r_a5d4d36bdff1d1b8fe2edf092462eb2c7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a5d4d36bdff1d1b8fe2edf092462eb2c7">COAP_PDU_DELAYED</a>&#160;&#160;&#160;-3</td></tr>
<tr class="separator:a5d4d36bdff1d1b8fe2edf092462eb2c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c566c12a076d57856cfeaab85b56317" id="r_a8c566c12a076d57856cfeaab85b56317"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8c566c12a076d57856cfeaab85b56317">COAP_OPT_LONG</a></td></tr>
<tr class="separator:a8c566c12a076d57856cfeaab85b56317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad876acb5b157cdd281ddb9111b5dba1e" id="r_ad876acb5b157cdd281ddb9111b5dba1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad876acb5b157cdd281ddb9111b5dba1e">COAP_OPT_END</a>&#160;&#160;&#160;0xF0       /* end marker */</td></tr>
<tr class="separator:ad876acb5b157cdd281ddb9111b5dba1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad46f0093ab0b2b969651b0d45d9bf8d0" id="r_ad46f0093ab0b2b969651b0d45d9bf8d0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad46f0093ab0b2b969651b0d45d9bf8d0">COAP_PAYLOAD_START</a>&#160;&#160;&#160;0xFF /* payload marker */</td></tr>
<tr class="separator:ad46f0093ab0b2b969651b0d45d9bf8d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdbed0794892f3f848325a2d8adb1a1" id="r_aecdbed0794892f3f848325a2d8adb1a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aecdbed0794892f3f848325a2d8adb1a1">COAP_OPTION_KEY</a>(option)&#160;&#160;&#160;(option).key</td></tr>
<tr class="separator:aecdbed0794892f3f848325a2d8adb1a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a582210d1e08294d6ec866cbe8ec5258d" id="r_a582210d1e08294d6ec866cbe8ec5258d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a582210d1e08294d6ec866cbe8ec5258d">COAP_OPTION_LENGTH</a>(option)&#160;&#160;&#160;(option).length</td></tr>
<tr class="separator:a582210d1e08294d6ec866cbe8ec5258d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9a063a34c9a4b649752a640e7d32530" id="r_ac9a063a34c9a4b649752a640e7d32530"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac9a063a34c9a4b649752a640e7d32530">COAP_OPTION_DATA</a>(option)&#160;&#160;&#160;((unsigned char *)&amp;(option) + sizeof(<a class="el" href="structcoap__option.html">coap_option</a>))</td></tr>
<tr class="separator:ac9a063a34c9a4b649752a640e7d32530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7736ba4d5c9603785584582e1b4c9f94" id="r_a7736ba4d5c9603785584582e1b4c9f94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a7736ba4d5c9603785584582e1b4c9f94">COAP_PDU_IS_EMPTY</a>(pdu)&#160;&#160;&#160;((pdu)-&gt;code == 0)</td></tr>
<tr class="separator:a7736ba4d5c9603785584582e1b4c9f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2fb86807d5c6e38795a45b5c6c4374f" id="r_ae2fb86807d5c6e38795a45b5c6c4374f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ae2fb86807d5c6e38795a45b5c6c4374f">COAP_PDU_IS_REQUEST</a>(pdu)&#160;&#160;&#160;(!<a class="el" href="pdu_8h.html#a7736ba4d5c9603785584582e1b4c9f94">COAP_PDU_IS_EMPTY</a>(pdu) &amp;&amp; (pdu)-&gt;code &lt; 32)</td></tr>
<tr class="separator:ae2fb86807d5c6e38795a45b5c6c4374f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0010b10bed3bccbb58cf47640ca61271" id="r_a0010b10bed3bccbb58cf47640ca61271"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0010b10bed3bccbb58cf47640ca61271">COAP_PDU_IS_RESPONSE</a>(pdu)&#160;&#160;&#160;((pdu)-&gt;code &gt;= 64 &amp;&amp; (pdu)-&gt;code &lt; 224)</td></tr>
<tr class="separator:a0010b10bed3bccbb58cf47640ca61271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8046a72f69381eb21e87ece231506137" id="r_a8046a72f69381eb21e87ece231506137"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a8046a72f69381eb21e87ece231506137">COAP_PDU_IS_SIGNALING</a>(pdu)&#160;&#160;&#160;((pdu)-&gt;code &gt;= 224)</td></tr>
<tr class="separator:a8046a72f69381eb21e87ece231506137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ad0069e1ed066d9f49b570446a9b847" id="r_a3ad0069e1ed066d9f49b570446a9b847"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a3ad0069e1ed066d9f49b570446a9b847">COAP_PDU_MAX_UDP_HEADER_SIZE</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a3ad0069e1ed066d9f49b570446a9b847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682638452038ffdfbf08ce4875f95a2f" id="r_a682638452038ffdfbf08ce4875f95a2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a682638452038ffdfbf08ce4875f95a2f">COAP_PDU_MAX_TCP_HEADER_SIZE</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a682638452038ffdfbf08ce4875f95a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0639f2629ed0c6e16d72b972171f5529" id="r_a0639f2629ed0c6e16d72b972171f5529"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0639f2629ed0c6e16d72b972171f5529">COAP_PROTO_NONE</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a0639f2629ed0c6e16d72b972171f5529"><td class="mdescLeft">&#160;</td><td class="mdescRight">coap_proto_t values  <br /></td></tr>
<tr class="separator:a0639f2629ed0c6e16d72b972171f5529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeda5d0dcadd6cbb8c13e1950fcff787a" id="r_aeda5d0dcadd6cbb8c13e1950fcff787a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aeda5d0dcadd6cbb8c13e1950fcff787a">COAP_PROTO_UDP</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aeda5d0dcadd6cbb8c13e1950fcff787a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac10ea7ae66e5e549b47854417311b560" id="r_ac10ea7ae66e5e549b47854417311b560"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac10ea7ae66e5e549b47854417311b560">COAP_PROTO_DTLS</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ac10ea7ae66e5e549b47854417311b560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd5fe6cc335ea31d49f3eb469a5990a" id="r_a1dd5fe6cc335ea31d49f3eb469a5990a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a1dd5fe6cc335ea31d49f3eb469a5990a">COAP_PROTO_TCP</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a1dd5fe6cc335ea31d49f3eb469a5990a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c9a1dd7b311e5a420e3a7c36b918a02" id="r_a6c9a1dd7b311e5a420e3a7c36b918a02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a6c9a1dd7b311e5a420e3a7c36b918a02">COAP_PROTO_TLS</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a6c9a1dd7b311e5a420e3a7c36b918a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ac60fb9284ace878df3db4a2d621d9a8d" id="r_ac60fb9284ace878df3db4a2d621d9a8d"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ac60fb9284ace878df3db4a2d621d9a8d">coap_tid_t</a></td></tr>
<tr class="memdesc:ac60fb9284ace878df3db4a2d621d9a8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">coap_tid_t is used to store CoAP transaction id, i.e.  <br /></td></tr>
<tr class="separator:ac60fb9284ace878df3db4a2d621d9a8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd61dac6c3a6820e022c14ef09940c3" id="r_a7bd61dac6c3a6820e022c14ef09940c3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a7bd61dac6c3a6820e022c14ef09940c3">coap_pdu_t</a></td></tr>
<tr class="memdesc:a7bd61dac6c3a6820e022c14ef09940c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">structure for CoAP PDUs token, if any, follows the fixed size header, then options until payload marker (0xff), then the payload if stored inline.  <br /></td></tr>
<tr class="separator:a7bd61dac6c3a6820e022c14ef09940c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f23fe72ad67820dcdf888bb8b619dde" id="r_a9f23fe72ad67820dcdf888bb8b619dde"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a></td></tr>
<tr class="separator:a9f23fe72ad67820dcdf888bb8b619dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0820d2413f167cd92f8267bf0aaa6ecb" id="r_a0820d2413f167cd92f8267bf0aaa6ecb"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a0820d2413f167cd92f8267bf0aaa6ecb">coap_response_phrase</a> (unsigned char code)</td></tr>
<tr class="memdesc:a0820d2413f167cd92f8267bf0aaa6ecb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a human-readable response phrase for the specified CoAP response <code>code</code>.  <br /></td></tr>
<tr class="separator:a0820d2413f167cd92f8267bf0aaa6ecb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f019ad11b0f633524175488aecbd7d1" id="r_a4f019ad11b0f633524175488aecbd7d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a4f019ad11b0f633524175488aecbd7d1">coap_pdu_init</a> (<a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> type, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> code, uint16_t tid, size_t size)</td></tr>
<tr class="memdesc:a4f019ad11b0f633524175488aecbd7d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new CoAP PDU with at least enough storage space for the given <code>size</code> maximum message size.  <br /></td></tr>
<tr class="separator:a4f019ad11b0f633524175488aecbd7d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add46ce956878a4121e8887b84c6d4a6b" id="r_add46ce956878a4121e8887b84c6d4a6b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#add46ce956878a4121e8887b84c6d4a6b">coap_pdu_resize</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t new_size)</td></tr>
<tr class="memdesc:add46ce956878a4121e8887b84c6d4a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dynamically grows the size of <code>pdu</code> to <code>new_size</code>.  <br /></td></tr>
<tr class="separator:add46ce956878a4121e8887b84c6d4a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dbdf354e2da5e80fea4c0d4a8df6d05" id="r_a9dbdf354e2da5e80fea4c0d4a8df6d05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a9dbdf354e2da5e80fea4c0d4a8df6d05">coap_pdu_clear</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t size)</td></tr>
<tr class="memdesc:a9dbdf354e2da5e80fea4c0d4a8df6d05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears any contents from <code>pdu</code> and resets <code>used_size</code>, and <code>data</code> pointers.  <br /></td></tr>
<tr class="separator:a9dbdf354e2da5e80fea4c0d4a8df6d05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade1a728d3049d57703d805e71d0a38dd" id="r_ade1a728d3049d57703d805e71d0a38dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ade1a728d3049d57703d805e71d0a38dd">coap_new_pdu</a> (const struct <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session)</td></tr>
<tr class="memdesc:ade1a728d3049d57703d805e71d0a38dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new CoAP PDU.  <br /></td></tr>
<tr class="separator:ade1a728d3049d57703d805e71d0a38dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4941e111fdd57ed08b614bb9e7f594" id="r_aad4941e111fdd57ed08b614bb9e7f594"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aad4941e111fdd57ed08b614bb9e7f594">coap_delete_pdu</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *)</td></tr>
<tr class="memdesc:aad4941e111fdd57ed08b614bb9e7f594"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispose of an CoAP PDU and frees associated storage.  <br /></td></tr>
<tr class="separator:aad4941e111fdd57ed08b614bb9e7f594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53c48f11ca3bc0d2106bd8b76f7430c8" id="r_a53c48f11ca3bc0d2106bd8b76f7430c8"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a53c48f11ca3bc0d2106bd8b76f7430c8">coap_pdu_parse_header_size</a> (<a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> proto, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data)</td></tr>
<tr class="memdesc:a53c48f11ca3bc0d2106bd8b76f7430c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interprets <code>data</code> to determine the number of bytes in the header.  <br /></td></tr>
<tr class="separator:a53c48f11ca3bc0d2106bd8b76f7430c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9460a91b9a9747bc85ff8e48a00f4d1" id="r_ad9460a91b9a9747bc85ff8e48a00f4d1"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ad9460a91b9a9747bc85ff8e48a00f4d1">coap_pdu_parse_size</a> (<a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> proto, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data, size_t length)</td></tr>
<tr class="memdesc:ad9460a91b9a9747bc85ff8e48a00f4d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses <code>data</code> to extract the message size.  <br /></td></tr>
<tr class="separator:ad9460a91b9a9747bc85ff8e48a00f4d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a516ac8dae1f2fe33963f80cf15ec59a0" id="r_a516ac8dae1f2fe33963f80cf15ec59a0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a516ac8dae1f2fe33963f80cf15ec59a0">coap_pdu_parse_header</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, <a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> proto)</td></tr>
<tr class="memdesc:a516ac8dae1f2fe33963f80cf15ec59a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode the protocol specific header for the specified PDU.  <br /></td></tr>
<tr class="separator:a516ac8dae1f2fe33963f80cf15ec59a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7fbcbe0f8d7415e82447747abf31d51" id="r_aa7fbcbe0f8d7415e82447747abf31d51"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aa7fbcbe0f8d7415e82447747abf31d51">coap_pdu_parse_opt</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu)</td></tr>
<tr class="memdesc:aa7fbcbe0f8d7415e82447747abf31d51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify consistency in the given CoAP PDU structure and locate the data.  <br /></td></tr>
<tr class="separator:aa7fbcbe0f8d7415e82447747abf31d51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9981ea277da8bc4e5c4f82d6ca4c006" id="r_ab9981ea277da8bc4e5c4f82d6ca4c006"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab9981ea277da8bc4e5c4f82d6ca4c006">coap_pdu_parse</a> (<a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> proto, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data, size_t length, <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu)</td></tr>
<tr class="memdesc:ab9981ea277da8bc4e5c4f82d6ca4c006"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses <code>data</code> into the CoAP PDU structure given in <code>result</code>.  <br /></td></tr>
<tr class="separator:ab9981ea277da8bc4e5c4f82d6ca4c006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a923f81168ccbbaac1a4ca50837d7be94" id="r_a923f81168ccbbaac1a4ca50837d7be94"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a923f81168ccbbaac1a4ca50837d7be94">coap_add_token</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t len, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data)</td></tr>
<tr class="memdesc:a923f81168ccbbaac1a4ca50837d7be94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds token of length <code>len</code> to <code>pdu</code>.  <br /></td></tr>
<tr class="separator:a923f81168ccbbaac1a4ca50837d7be94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1314f60fbc25733cfabaa975adc5aae" id="r_aa1314f60fbc25733cfabaa975adc5aae"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#aa1314f60fbc25733cfabaa975adc5aae">coap_add_option</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, uint16_t type, size_t len, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data)</td></tr>
<tr class="memdesc:aa1314f60fbc25733cfabaa975adc5aae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds option of given type to pdu that is passed as first parameter.  <br /></td></tr>
<tr class="separator:aa1314f60fbc25733cfabaa975adc5aae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47b43066ecb3584af0c425b8ee97db20" id="r_a47b43066ecb3584af0c425b8ee97db20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a47b43066ecb3584af0c425b8ee97db20">coap_add_option_later</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, uint16_t type, size_t len)</td></tr>
<tr class="memdesc:a47b43066ecb3584af0c425b8ee97db20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds option of given type to pdu that is passed as first parameter, but does not write a value.  <br /></td></tr>
<tr class="separator:a47b43066ecb3584af0c425b8ee97db20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af71a3f810ab9f0f657c25c425826af40" id="r_af71a3f810ab9f0f657c25c425826af40"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#af71a3f810ab9f0f657c25c425826af40">coap_add_data</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t len, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data)</td></tr>
<tr class="memdesc:af71a3f810ab9f0f657c25c425826af40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds given data to the pdu that is passed as first parameter.  <br /></td></tr>
<tr class="separator:af71a3f810ab9f0f657c25c425826af40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b73fa26504e7a8da604375d1146b7e3" id="r_a3b73fa26504e7a8da604375d1146b7e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a3b73fa26504e7a8da604375d1146b7e3">coap_add_data_after</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t len)</td></tr>
<tr class="memdesc:a3b73fa26504e7a8da604375d1146b7e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds given data to the pdu that is passed as first parameter but does not copyt it.  <br /></td></tr>
<tr class="separator:a3b73fa26504e7a8da604375d1146b7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6701e5ec876a5ce59c7892f66d46c67b" id="r_a6701e5ec876a5ce59c7892f66d46c67b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#a6701e5ec876a5ce59c7892f66d46c67b">coap_get_data</a> (const <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, size_t *len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> **data)</td></tr>
<tr class="memdesc:a6701e5ec876a5ce59c7892f66d46c67b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the length and data pointer of specified PDU.  <br /></td></tr>
<tr class="separator:a6701e5ec876a5ce59c7892f66d46c67b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5e81fe5717f977c62b7ef427d946c35" id="r_ab5e81fe5717f977c62b7ef427d946c35"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdu_8h.html#ab5e81fe5717f977c62b7ef427d946c35">coap_pdu_encode_header</a> (<a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *pdu, <a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> proto)</td></tr>
<tr class="memdesc:ab5e81fe5717f977c62b7ef427d946c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compose the protocol specific header for the specified PDU.  <br /></td></tr>
<tr class="separator:ab5e81fe5717f977c62b7ef427d946c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Pre-defined constants that reflect defaults for CoAP. </p>

<p class="definition">Definition in file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a1c3a19627ef7a2960b7262bef940649a" name="a1c3a19627ef7a2960b7262bef940649a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c3a19627ef7a2960b7262bef940649a">&#9670;&#160;</a></span>COAP_DEBUG_BUF_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEBUG_BUF_SIZE&#160;&#160;&#160;(8 + 1024 * 2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00060">60</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a171a87c853e3bd8ecc0d0bcd84cf3fc7" name="a171a87c853e3bd8ecc0d0bcd84cf3fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a171a87c853e3bd8ecc0d0bcd84cf3fc7">&#9670;&#160;</a></span>COAP_DEFAULT_MAX_AGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_MAX_AGE&#160;&#160;&#160;60 /* default maximum object lifetime in seconds */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00030">30</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a7f6214c7fdd9c6141ef91ae6cc0262c5" name="a7f6214c7fdd9c6141ef91ae6cc0262c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f6214c7fdd9c6141ef91ae6cc0262c5">&#9670;&#160;</a></span>COAP_DEFAULT_MAX_PDU_RX_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_MAX_PDU_RX_SIZE&#160;&#160;&#160;(8*1024*1024+256)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00051">51</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="acd9e29989066f01c6951113d951cd158" name="acd9e29989066f01c6951113d951cd158"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd9e29989066f01c6951113d951cd158">&#9670;&#160;</a></span>COAP_DEFAULT_MTU</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_MTU&#160;&#160;&#160;1152</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00032">32</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a347c9249800d5f80f75dbc7d3df96bb0" name="a347c9249800d5f80f75dbc7d3df96bb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a347c9249800d5f80f75dbc7d3df96bb0">&#9670;&#160;</a></span>COAP_DEFAULT_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_PORT&#160;&#160;&#160;5683 /* CoAP default UDP/TCP port */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00028">28</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a6801b39119117f2a09b556e2c46ac3db" name="a6801b39119117f2a09b556e2c46ac3db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6801b39119117f2a09b556e2c46ac3db">&#9670;&#160;</a></span>COAP_DEFAULT_SCHEME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_SCHEME&#160;&#160;&#160;&quot;coap&quot; /* the default scheme for CoAP URIs */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00065">65</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ae988ff4a542f3add75af84433693c134" name="ae988ff4a542f3add75af84433693c134"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae988ff4a542f3add75af84433693c134">&#9670;&#160;</a></span>COAP_DEFAULT_URI_WELLKNOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_URI_WELLKNOWN&#160;&#160;&#160;&quot;.well-known/core&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>well-known resources URI </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00068">68</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac0c672474161e3066719c36e983a0228" name="ac0c672474161e3066719c36e983a0228"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0c672474161e3066719c36e983a0228">&#9670;&#160;</a></span>COAP_DEFAULT_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DEFAULT_VERSION&#160;&#160;&#160;1 /* version of CoAP supported */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00064">64</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a489f4c3eb8344011cbc20bd0768d14ad" name="a489f4c3eb8344011cbc20bd0768d14ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a489f4c3eb8344011cbc20bd0768d14ad">&#9670;&#160;</a></span>COAP_DROPPED_RESPONSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_DROPPED_RESPONSE&#160;&#160;&#160;-2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates that a response is suppressed. </p>
<p>This will occur for error responses if the request was received via IP multicast. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00247">247</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a4c38a0b197dc4908566f853af774cfdd" name="a4c38a0b197dc4908566f853af774cfdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c38a0b197dc4908566f853af774cfdd">&#9670;&#160;</a></span>COAP_ERROR_PHRASE_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_ERROR_PHRASE_LENGTH&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum length of error phrase </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00150">150</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="afe70beb6b87ece4aca2d2735c759c625" name="afe70beb6b87ece4aca2d2735c759c625"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe70beb6b87ece4aca2d2735c759c625">&#9670;&#160;</a></span>COAP_INVALID_TID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_INVALID_TID&#160;&#160;&#160;-1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates an invalid transaction id. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00241">241</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8f9814965b00b7a98ae8b2a10b8be8b6" name="a8f9814965b00b7a98ae8b2a10b8be8b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f9814965b00b7a98ae8b2a10b8be8b6">&#9670;&#160;</a></span>COAP_MAX_MESSAGE_SIZE_TCP0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MAX_MESSAGE_SIZE_TCP0&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#a0699fdab30ad7c9d875946691ce71ec5">COAP_MESSAGE_SIZE_OFFSET_TCP8</a>-1) /* 12 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00041">41</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="aed8d3a898b778a92637d2f2ef63d7fa3" name="aed8d3a898b778a92637d2f2ef63d7fa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed8d3a898b778a92637d2f2ef63d7fa3">&#9670;&#160;</a></span>COAP_MAX_MESSAGE_SIZE_TCP16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MAX_MESSAGE_SIZE_TCP16&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#aa60dcb2495491104cc4c0fc50267fed0">COAP_MESSAGE_SIZE_OFFSET_TCP32</a>-1) /* 65804 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00043">43</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0c762cc5eae22d39480d4fd9d4337b1b" name="a0c762cc5eae22d39480d4fd9d4337b1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c762cc5eae22d39480d4fd9d4337b1b">&#9670;&#160;</a></span>COAP_MAX_MESSAGE_SIZE_TCP32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MAX_MESSAGE_SIZE_TCP32&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#aa60dcb2495491104cc4c0fc50267fed0">COAP_MESSAGE_SIZE_OFFSET_TCP32</a>+0xFFFFFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00044">44</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a7cda9d9606a85c72bb218ab9b1fbb3a8" name="a7cda9d9606a85c72bb218ab9b1fbb3a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cda9d9606a85c72bb218ab9b1fbb3a8">&#9670;&#160;</a></span>COAP_MAX_MESSAGE_SIZE_TCP8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MAX_MESSAGE_SIZE_TCP8&#160;&#160;&#160;(<a class="el" href="pdu_8h.html#a9cf7ca17ad57bd10f72711c1dfd26816">COAP_MESSAGE_SIZE_OFFSET_TCP16</a>-1) /* 268 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00042">42</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab9f23bdc6d33c916f8a9ce87bf60b990" name="ab9f23bdc6d33c916f8a9ce87bf60b990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9f23bdc6d33c916f8a9ce87bf60b990">&#9670;&#160;</a></span>COAP_MAX_OPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MAX_OPT&#160;&#160;&#160;65535</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the highest option number we know </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00124">124</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a12e77b2fac590bbe39b6c1b221e371c8" name="a12e77b2fac590bbe39b6c1b221e371c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12e77b2fac590bbe39b6c1b221e371c8">&#9670;&#160;</a></span>COAP_MEDIATYPE_ANY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_ANY&#160;&#160;&#160;0xff /* any media type */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00231">231</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a814585031d3ffce2f850d35b3bd122c9" name="a814585031d3ffce2f850d35b3bd122c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a814585031d3ffce2f850d35b3bd122c9">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_CBOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_CBOR&#160;&#160;&#160;60 /* application/cbor  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00206">206</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a09ea807fb8f9d0b9f46735bf73d20c32" name="a09ea807fb8f9d0b9f46735bf73d20c32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09ea807fb8f9d0b9f46735bf73d20c32">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT&#160;&#160;&#160;96 /* application/cose; cose-type=&quot;cose-encrypt&quot;  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00211">211</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8c95fabf7c478ef2b357f58bbb8355c5" name="a8c95fabf7c478ef2b357f58bbb8355c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c95fabf7c478ef2b357f58bbb8355c5">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT0&#160;&#160;&#160;16 /* application/cose; cose-type=&quot;cose-encrypt0&quot; */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00212">212</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a44c674ec60ab76dea6c7de917ee0ccf1" name="a44c674ec60ab76dea6c7de917ee0ccf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44c674ec60ab76dea6c7de917ee0ccf1">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_KEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_KEY&#160;&#160;&#160;101 /* application/cose-key  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00216">216</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a33fd720e919ece23c1bf4b278ebd8a1c" name="a33fd720e919ece23c1bf4b278ebd8a1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33fd720e919ece23c1bf4b278ebd8a1c">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_KEY_SET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_KEY_SET&#160;&#160;&#160;102 /* application/cose-key-set  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00217">217</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a063542e8d75785db65852cbaa6d30e37" name="a063542e8d75785db65852cbaa6d30e37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a063542e8d75785db65852cbaa6d30e37">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_MAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_MAC&#160;&#160;&#160;97 /* application/cose; cose-type=&quot;cose-mac&quot;      */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00213">213</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a94c90ef1e2f1a2060a8d2c0e3058e1ff" name="a94c90ef1e2f1a2060a8d2c0e3058e1ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94c90ef1e2f1a2060a8d2c0e3058e1ff">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_MAC0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_MAC0&#160;&#160;&#160;17 /* application/cose; cose-type=&quot;cose-mac0&quot;     */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00214">214</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a1712b77da2b90eae259be8af35210de8" name="a1712b77da2b90eae259be8af35210de8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1712b77da2b90eae259be8af35210de8">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_SIGN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_SIGN&#160;&#160;&#160;98 /* application/cose; cose-type=&quot;cose-sign&quot;     */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00209">209</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a4cf0068f700ffbdaa8d0f0a99ac36337" name="a4cf0068f700ffbdaa8d0f0a99ac36337"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cf0068f700ffbdaa8d0f0a99ac36337">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_COSE_SIGN1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_COSE_SIGN1&#160;&#160;&#160;18 /* application/cose; cose-type=&quot;cose-sign1&quot;    */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00210">210</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="aa61e56376db4d93552a96e84cf37bce5" name="aa61e56376db4d93552a96e84cf37bce5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa61e56376db4d93552a96e84cf37bce5">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_EXI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_EXI&#160;&#160;&#160;47 /* application/exi  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00204">204</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a9253ed37ff9a9bcce7d91d45173ef9d8" name="a9253ed37ff9a9bcce7d91d45173ef9d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9253ed37ff9a9bcce7d91d45173ef9d8">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_JSON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_JSON&#160;&#160;&#160;50 /* application/json  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00205">205</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="af39391900d8a44c795d391f60b0f3105" name="af39391900d8a44c795d391f60b0f3105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af39391900d8a44c795d391f60b0f3105">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_LINK_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_LINK_FORMAT&#160;&#160;&#160;40 /* application/link-format */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00200">200</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a56d85f5bc844c95e4d6b584d31834a39" name="a56d85f5bc844c95e4d6b584d31834a39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56d85f5bc844c95e4d6b584d31834a39">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_OCTET_STREAM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_OCTET_STREAM&#160;&#160;&#160;42 /* application/octet-stream */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00202">202</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0d21922336021329a000fe4680626c39" name="a0d21922336021329a000fe4680626c39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d21922336021329a000fe4680626c39">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_RDF_XML</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_RDF_XML&#160;&#160;&#160;43 /* application/rdf+xml */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00203">203</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a3d9519fd08a802b488b9146009e1e296" name="a3d9519fd08a802b488b9146009e1e296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d9519fd08a802b488b9146009e1e296">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENML_CBOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENML_CBOR&#160;&#160;&#160;112 /* application/senml+cbor  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00222">222</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a668372945883b18372fac4a508a6701f" name="a668372945883b18372fac4a508a6701f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a668372945883b18372fac4a508a6701f">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENML_EXI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENML_EXI&#160;&#160;&#160;114 /* application/senml-exi   */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00224">224</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a9bc455497dd7ac793718f4aeeac55500" name="a9bc455497dd7ac793718f4aeeac55500"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bc455497dd7ac793718f4aeeac55500">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENML_JSON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENML_JSON&#160;&#160;&#160;110 /* application/senml+json  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00220">220</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac691ebda475149174e5fe3ecf452db30" name="ac691ebda475149174e5fe3ecf452db30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac691ebda475149174e5fe3ecf452db30">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENML_XML</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENML_XML&#160;&#160;&#160;310 /* application/senml+xml   */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00226">226</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="afe8396fbe474c1a77f0740a8fc8daae9" name="afe8396fbe474c1a77f0740a8fc8daae9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe8396fbe474c1a77f0740a8fc8daae9">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENSML_CBOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENSML_CBOR&#160;&#160;&#160;113 /* application/sensml+cbor */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00223">223</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a06a2ca7d45aff0de1b5fc18cd487443d" name="a06a2ca7d45aff0de1b5fc18cd487443d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06a2ca7d45aff0de1b5fc18cd487443d">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENSML_EXI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENSML_EXI&#160;&#160;&#160;115 /* application/sensml-exi  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00225">225</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad9f5296de280952065530924899146a5" name="ad9f5296de280952065530924899146a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9f5296de280952065530924899146a5">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENSML_JSON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENSML_JSON&#160;&#160;&#160;111 /* application/sensml+json */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00221">221</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a10cdbcc1cf8cb2a30519a1df912d7ad9" name="a10cdbcc1cf8cb2a30519a1df912d7ad9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10cdbcc1cf8cb2a30519a1df912d7ad9">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_SENSML_XML</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_SENSML_XML&#160;&#160;&#160;311 /* application/sensml+xml  */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00227">227</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="afa58704a0479deff4766549048c3cd73" name="afa58704a0479deff4766549048c3cd73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa58704a0479deff4766549048c3cd73">&#9670;&#160;</a></span>COAP_MEDIATYPE_APPLICATION_XML</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_APPLICATION_XML&#160;&#160;&#160;41 /* application/xml */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00201">201</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8f565adeec61d504d063247cf31564d8" name="a8f565adeec61d504d063247cf31564d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f565adeec61d504d063247cf31564d8">&#9670;&#160;</a></span>COAP_MEDIATYPE_TEXT_PLAIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MEDIATYPE_TEXT_PLAIN&#160;&#160;&#160;0 /* text/plain (UTF-8) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00199">199</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab2a2b75edf2611bc01464bb182e4d781" name="ab2a2b75edf2611bc01464bb182e4d781"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2a2b75edf2611bc01464bb182e4d781">&#9670;&#160;</a></span>COAP_MESSAGE_ACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_ACK&#160;&#160;&#160;2 /* used to acknowledge confirmable messages */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00074">74</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab6ad49de4b14e7cf5bd0a2a1a87eef2f" name="ab6ad49de4b14e7cf5bd0a2a1a87eef2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6ad49de4b14e7cf5bd0a2a1a87eef2f">&#9670;&#160;</a></span>COAP_MESSAGE_CON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_CON&#160;&#160;&#160;0 /* confirmable message (requires ACK/RST) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00072">72</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8d16c2a7f279b2b6517b38d58347dead" name="a8d16c2a7f279b2b6517b38d58347dead"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d16c2a7f279b2b6517b38d58347dead">&#9670;&#160;</a></span>COAP_MESSAGE_NON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_NON&#160;&#160;&#160;1 /* non-confirmable message (one-shot message) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00073">73</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a9ca373ecc6b3ea33fa62791ce3d58c9a" name="a9ca373ecc6b3ea33fa62791ce3d58c9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ca373ecc6b3ea33fa62791ce3d58c9a">&#9670;&#160;</a></span>COAP_MESSAGE_RST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_RST&#160;&#160;&#160;3 /* indicates error in received messages */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00075">75</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a9cf7ca17ad57bd10f72711c1dfd26816" name="a9cf7ca17ad57bd10f72711c1dfd26816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cf7ca17ad57bd10f72711c1dfd26816">&#9670;&#160;</a></span>COAP_MESSAGE_SIZE_OFFSET_TCP16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_SIZE_OFFSET_TCP16&#160;&#160;&#160;269 /* 13 + 256 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00037">37</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="aa60dcb2495491104cc4c0fc50267fed0" name="aa60dcb2495491104cc4c0fc50267fed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa60dcb2495491104cc4c0fc50267fed0">&#9670;&#160;</a></span>COAP_MESSAGE_SIZE_OFFSET_TCP32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_SIZE_OFFSET_TCP32&#160;&#160;&#160;65805 /* 269 + 65536 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00038">38</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0699fdab30ad7c9d875946691ce71ec5" name="a0699fdab30ad7c9d875946691ce71ec5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0699fdab30ad7c9d875946691ce71ec5">&#9670;&#160;</a></span>COAP_MESSAGE_SIZE_OFFSET_TCP8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_MESSAGE_SIZE_OFFSET_TCP8&#160;&#160;&#160;13</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00036">36</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad876acb5b157cdd281ddb9111b5dba1e" name="ad876acb5b157cdd281ddb9111b5dba1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad876acb5b157cdd281ddb9111b5dba1e">&#9670;&#160;</a></span>COAP_OPT_END</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPT_END&#160;&#160;&#160;0xF0       /* end marker */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00253">253</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8c566c12a076d57856cfeaab85b56317" name="a8c566c12a076d57856cfeaab85b56317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c566c12a076d57856cfeaab85b56317">&#9670;&#160;</a></span>COAP_OPT_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPT_LONG</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                 0x0F      <span class="comment">/* OC == 0b1111 indicates that the option list</span></div>
<div class="line"><span class="comment">                                 * in a CoAP message is limited by 0b11110000</span></div>
<div class="line"><span class="comment">                                 * marker */</span></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00251">251</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac97ca96f9b7abe9f196a72aa0ab4cfb0" name="ac97ca96f9b7abe9f196a72aa0ab4cfb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac97ca96f9b7abe9f196a72aa0ab4cfb0">&#9670;&#160;</a></span>COAP_OPTION_ACCEPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_ACCEPT&#160;&#160;&#160;17 /* C, uint,   0-2 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00103">103</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a235851793201aed201b79926c0d9377f" name="a235851793201aed201b79926c0d9377f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a235851793201aed201b79926c0d9377f">&#9670;&#160;</a></span>COAP_OPTION_BLOCK1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_BLOCK1&#160;&#160;&#160;27 /* C, uint, 0--3 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00118">118</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a078cdb892664dd5f7ea708b7f403fa8d" name="a078cdb892664dd5f7ea708b7f403fa8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a078cdb892664dd5f7ea708b7f403fa8d">&#9670;&#160;</a></span>COAP_OPTION_BLOCK2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_BLOCK2&#160;&#160;&#160;23 /* C, uint, 0--3 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00117">117</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0d3a394e19dd218d3dc6681bbae4cb08" name="a0d3a394e19dd218d3dc6681bbae4cb08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d3a394e19dd218d3dc6681bbae4cb08">&#9670;&#160;</a></span>COAP_OPTION_CONTENT_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_CONTENT_FORMAT&#160;&#160;&#160;12 /* E, uint, 0-2 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00099">99</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a99007567c62f8f31404111b7bb888c6e" name="a99007567c62f8f31404111b7bb888c6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99007567c62f8f31404111b7bb888c6e">&#9670;&#160;</a></span>COAP_OPTION_CONTENT_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_CONTENT_TYPE&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a0d3a394e19dd218d3dc6681bbae4cb08">COAP_OPTION_CONTENT_FORMAT</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00100">100</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac9a063a34c9a4b649752a640e7d32530" name="ac9a063a34c9a4b649752a640e7d32530"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9a063a34c9a4b649752a640e7d32530">&#9670;&#160;</a></span>COAP_OPTION_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_DATA</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">option</td><td>)</td>
          <td>&#160;&#160;&#160;((unsigned char *)&amp;(option) + sizeof(<a class="el" href="structcoap__option.html">coap_option</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00271">271</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad8ae78716b8b32e7ced0390b77e615ec" name="ad8ae78716b8b32e7ced0390b77e615ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8ae78716b8b32e7ced0390b77e615ec">&#9670;&#160;</a></span>COAP_OPTION_ETAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_ETAG&#160;&#160;&#160;4 /* E, opaque, 1-8 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00094">94</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a046abe3d186a48612d11b098c515c33e" name="a046abe3d186a48612d11b098c515c33e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a046abe3d186a48612d11b098c515c33e">&#9670;&#160;</a></span>COAP_OPTION_IF_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_IF_MATCH&#160;&#160;&#160;1 /* C, opaque, 0-8 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00092">92</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a5324af9001287706f4742f67a7efba41" name="a5324af9001287706f4742f67a7efba41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5324af9001287706f4742f67a7efba41">&#9670;&#160;</a></span>COAP_OPTION_IF_NONE_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_IF_NONE_MATCH&#160;&#160;&#160;5 /* empty, 0 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00095">95</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="aecdbed0794892f3f848325a2d8adb1a1" name="aecdbed0794892f3f848325a2d8adb1a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecdbed0794892f3f848325a2d8adb1a1">&#9670;&#160;</a></span>COAP_OPTION_KEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_KEY</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">option</td><td>)</td>
          <td>&#160;&#160;&#160;(option).key</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00269">269</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a582210d1e08294d6ec866cbe8ec5258d" name="a582210d1e08294d6ec866cbe8ec5258d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a582210d1e08294d6ec866cbe8ec5258d">&#9670;&#160;</a></span>COAP_OPTION_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_LENGTH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">option</td><td>)</td>
          <td>&#160;&#160;&#160;(option).length</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00270">270</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a582329ddaa47c4b24ae930251dd8dac4" name="a582329ddaa47c4b24ae930251dd8dac4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a582329ddaa47c4b24ae930251dd8dac4">&#9670;&#160;</a></span>COAP_OPTION_LOCATION_PATH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_LOCATION_PATH&#160;&#160;&#160;8 /* E, String, 0-255 B, - */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00097">97</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a9348303bcb32e32a0ccc2e993a5eae10" name="a9348303bcb32e32a0ccc2e993a5eae10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9348303bcb32e32a0ccc2e993a5eae10">&#9670;&#160;</a></span>COAP_OPTION_LOCATION_QUERY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_LOCATION_QUERY&#160;&#160;&#160;20 /* E, String,   0-255 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00104">104</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad72feffdb8f533e1e97c74c626f023b5" name="ad72feffdb8f533e1e97c74c626f023b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad72feffdb8f533e1e97c74c626f023b5">&#9670;&#160;</a></span>COAP_OPTION_MAXAGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_MAXAGE&#160;&#160;&#160;14 /* E, uint, 0--4 B, 60 Seconds */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00101">101</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a01d1357aea9ab79457f45e85b4f8a6ad" name="a01d1357aea9ab79457f45e85b4f8a6ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01d1357aea9ab79457f45e85b4f8a6ad">&#9670;&#160;</a></span>COAP_OPTION_NORESPONSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_NORESPONSE&#160;&#160;&#160;258 /* N, uint, 0--1 B, 0 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00122">122</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="adf17a37fe3a833c8120d5414313c8655" name="adf17a37fe3a833c8120d5414313c8655"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf17a37fe3a833c8120d5414313c8655">&#9670;&#160;</a></span>COAP_OPTION_OBSERVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_OBSERVE&#160;&#160;&#160;6 /* E, empty/uint, 0 B/0-3 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00112">112</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a2fee152a1b03b715502c7a2db64d4f97" name="a2fee152a1b03b715502c7a2db64d4f97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fee152a1b03b715502c7a2db64d4f97">&#9670;&#160;</a></span>COAP_OPTION_PROXY_SCHEME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_PROXY_SCHEME&#160;&#160;&#160;39 /* C, String, 1-255 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00107">107</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="adaa4bc1cb4312d809ecc99c8296fcef6" name="adaa4bc1cb4312d809ecc99c8296fcef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adaa4bc1cb4312d809ecc99c8296fcef6">&#9670;&#160;</a></span>COAP_OPTION_PROXY_URI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_PROXY_URI&#160;&#160;&#160;35 /* C, String, 1-1034 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00106">106</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8184e545628a94eeb92a360b1a3f881e" name="a8184e545628a94eeb92a360b1a3f881e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8184e545628a94eeb92a360b1a3f881e">&#9670;&#160;</a></span>COAP_OPTION_SIZE1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_SIZE1&#160;&#160;&#160;60 /* E, uint, 0-4 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00108">108</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0ef4ecdcc101e4c5ebc19c4f1c5daa3b" name="a0ef4ecdcc101e4c5ebc19c4f1c5daa3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ef4ecdcc101e4c5ebc19c4f1c5daa3b">&#9670;&#160;</a></span>COAP_OPTION_SIZE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_SIZE2&#160;&#160;&#160;28 /* E, uint, 0-4 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00105">105</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a1438c075cb0ec2d423a85fc206a80c89" name="a1438c075cb0ec2d423a85fc206a80c89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1438c075cb0ec2d423a85fc206a80c89">&#9670;&#160;</a></span>COAP_OPTION_SUBSCRIPTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_SUBSCRIPTION&#160;&#160;&#160;<a class="el" href="pdu_8h.html#adf17a37fe3a833c8120d5414313c8655">COAP_OPTION_OBSERVE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00113">113</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a043c21277934001eacf3d14c0afb7485" name="a043c21277934001eacf3d14c0afb7485"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a043c21277934001eacf3d14c0afb7485">&#9670;&#160;</a></span>COAP_OPTION_URI_HOST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_URI_HOST&#160;&#160;&#160;3 /* C, String, 1-255 B, destination address */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00093">93</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a5e932b05dd36e6becb0a689f15d07583" name="a5e932b05dd36e6becb0a689f15d07583"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e932b05dd36e6becb0a689f15d07583">&#9670;&#160;</a></span>COAP_OPTION_URI_PATH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_URI_PATH&#160;&#160;&#160;11 /* C, String, 0-255 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00098">98</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac422f368eb8783d6d704311ed95796db" name="ac422f368eb8783d6d704311ed95796db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac422f368eb8783d6d704311ed95796db">&#9670;&#160;</a></span>COAP_OPTION_URI_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_URI_PORT&#160;&#160;&#160;7 /* C, uint, 0-2 B, destination port */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00096">96</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a41904e7f47afc7036b2841f770240820" name="a41904e7f47afc7036b2841f770240820"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41904e7f47afc7036b2841f770240820">&#9670;&#160;</a></span>COAP_OPTION_URI_QUERY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_OPTION_URI_QUERY&#160;&#160;&#160;15 /* C, String, 1-255 B, (none) */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00102">102</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad46f0093ab0b2b969651b0d45d9bf8d0" name="ad46f0093ab0b2b969651b0d45d9bf8d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad46f0093ab0b2b969651b0d45d9bf8d0">&#9670;&#160;</a></span>COAP_PAYLOAD_START</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PAYLOAD_START&#160;&#160;&#160;0xFF /* payload marker */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00255">255</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a5d4d36bdff1d1b8fe2edf092462eb2c7" name="a5d4d36bdff1d1b8fe2edf092462eb2c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d4d36bdff1d1b8fe2edf092462eb2c7">&#9670;&#160;</a></span>COAP_PDU_DELAYED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_DELAYED&#160;&#160;&#160;-3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00249">249</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a7736ba4d5c9603785584582e1b4c9f94" name="a7736ba4d5c9603785584582e1b4c9f94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7736ba4d5c9603785584582e1b4c9f94">&#9670;&#160;</a></span>COAP_PDU_IS_EMPTY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_IS_EMPTY</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pdu</td><td>)</td>
          <td>&#160;&#160;&#160;((pdu)-&gt;code == 0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00310">310</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ae2fb86807d5c6e38795a45b5c6c4374f" name="ae2fb86807d5c6e38795a45b5c6c4374f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2fb86807d5c6e38795a45b5c6c4374f">&#9670;&#160;</a></span>COAP_PDU_IS_REQUEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_IS_REQUEST</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pdu</td><td>)</td>
          <td>&#160;&#160;&#160;(!<a class="el" href="pdu_8h.html#a7736ba4d5c9603785584582e1b4c9f94">COAP_PDU_IS_EMPTY</a>(pdu) &amp;&amp; (pdu)-&gt;code &lt; 32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00311">311</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0010b10bed3bccbb58cf47640ca61271" name="a0010b10bed3bccbb58cf47640ca61271"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0010b10bed3bccbb58cf47640ca61271">&#9670;&#160;</a></span>COAP_PDU_IS_RESPONSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_IS_RESPONSE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pdu</td><td>)</td>
          <td>&#160;&#160;&#160;((pdu)-&gt;code &gt;= 64 &amp;&amp; (pdu)-&gt;code &lt; 224)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00312">312</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8046a72f69381eb21e87ece231506137" name="a8046a72f69381eb21e87ece231506137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8046a72f69381eb21e87ece231506137">&#9670;&#160;</a></span>COAP_PDU_IS_SIGNALING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_IS_SIGNALING</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pdu</td><td>)</td>
          <td>&#160;&#160;&#160;((pdu)-&gt;code &gt;= 224)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00313">313</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a682638452038ffdfbf08ce4875f95a2f" name="a682638452038ffdfbf08ce4875f95a2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a682638452038ffdfbf08ce4875f95a2f">&#9670;&#160;</a></span>COAP_PDU_MAX_TCP_HEADER_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_MAX_TCP_HEADER_SIZE&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00316">316</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a3ad0069e1ed066d9f49b570446a9b847" name="a3ad0069e1ed066d9f49b570446a9b847"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ad0069e1ed066d9f49b570446a9b847">&#9670;&#160;</a></span>COAP_PDU_MAX_UDP_HEADER_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PDU_MAX_UDP_HEADER_SIZE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00315">315</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac10ea7ae66e5e549b47854417311b560" name="ac10ea7ae66e5e549b47854417311b560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac10ea7ae66e5e549b47854417311b560">&#9670;&#160;</a></span>COAP_PROTO_DTLS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PROTO_DTLS&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00343">343</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0639f2629ed0c6e16d72b972171f5529" name="a0639f2629ed0c6e16d72b972171f5529"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0639f2629ed0c6e16d72b972171f5529">&#9670;&#160;</a></span>COAP_PROTO_NONE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PROTO_NONE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>coap_proto_t values </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00341">341</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a1dd5fe6cc335ea31d49f3eb469a5990a" name="a1dd5fe6cc335ea31d49f3eb469a5990a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dd5fe6cc335ea31d49f3eb469a5990a">&#9670;&#160;</a></span>COAP_PROTO_TCP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PROTO_TCP&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00344">344</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a6c9a1dd7b311e5a420e3a7c36b918a02" name="a6c9a1dd7b311e5a420e3a7c36b918a02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c9a1dd7b311e5a420e3a7c36b918a02">&#9670;&#160;</a></span>COAP_PROTO_TLS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PROTO_TLS&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00345">345</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="aeda5d0dcadd6cbb8c13e1950fcff787a" name="aeda5d0dcadd6cbb8c13e1950fcff787a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeda5d0dcadd6cbb8c13e1950fcff787a">&#9670;&#160;</a></span>COAP_PROTO_UDP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_PROTO_UDP&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00342">342</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a6750e42d35ffae3be6a65f6fbd095a6a" name="a6750e42d35ffae3be6a65f6fbd095a6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6750e42d35ffae3be6a65f6fbd095a6a">&#9670;&#160;</a></span>COAP_REQUEST_DELETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_DELETE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00082">82</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab517c4f43048270f5b6fc3e9178a0b38" name="ab517c4f43048270f5b6fc3e9178a0b38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab517c4f43048270f5b6fc3e9178a0b38">&#9670;&#160;</a></span>COAP_REQUEST_FETCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_FETCH&#160;&#160;&#160;5 /* RFC 8132 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00083">83</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad44b3aac0828f23330a1f3e7a4e4af4e" name="ad44b3aac0828f23330a1f3e7a4e4af4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad44b3aac0828f23330a1f3e7a4e4af4e">&#9670;&#160;</a></span>COAP_REQUEST_GET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_GET&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00079">79</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a3e43a5ec86653926ce8f55ae4dd2dd3d" name="a3e43a5ec86653926ce8f55ae4dd2dd3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e43a5ec86653926ce8f55ae4dd2dd3d">&#9670;&#160;</a></span>COAP_REQUEST_IPATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_IPATCH&#160;&#160;&#160;7 /* RFC 8132 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00085">85</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a26752282f6a426b8e767df6e51dc92be" name="a26752282f6a426b8e767df6e51dc92be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26752282f6a426b8e767df6e51dc92be">&#9670;&#160;</a></span>COAP_REQUEST_PATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_PATCH&#160;&#160;&#160;6 /* RFC 8132 */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00084">84</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a556c2df608a7939578ab4f6097188c13" name="a556c2df608a7939578ab4f6097188c13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a556c2df608a7939578ab4f6097188c13">&#9670;&#160;</a></span>COAP_REQUEST_POST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_POST&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00080">80</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a180e6f6176662ba87fc857d3cfa97f6c" name="a180e6f6176662ba87fc857d3cfa97f6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a180e6f6176662ba87fc857d3cfa97f6c">&#9670;&#160;</a></span>COAP_REQUEST_PUT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_REQUEST_PUT&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00081">81</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a1f7313fffc89cbc8fb3ffce8308411d1" name="a1f7313fffc89cbc8fb3ffce8308411d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7313fffc89cbc8fb3ffce8308411d1">&#9670;&#160;</a></span>COAP_RESPONSE_200</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_200&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(200)  /* 2.00 OK */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00162">162</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a21848097109c00379094151e6776ead8" name="a21848097109c00379094151e6776ead8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21848097109c00379094151e6776ead8">&#9670;&#160;</a></span>COAP_RESPONSE_201</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_201&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(201)  /* 2.01 Created */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00163">163</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab61d757c753ddd28f302f17ce44bb30c" name="ab61d757c753ddd28f302f17ce44bb30c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab61d757c753ddd28f302f17ce44bb30c">&#9670;&#160;</a></span>COAP_RESPONSE_304</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_304&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(203)  /* 2.03 Valid */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00164">164</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a18ad51e8749f353e4bd3d2f08680dda0" name="a18ad51e8749f353e4bd3d2f08680dda0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18ad51e8749f353e4bd3d2f08680dda0">&#9670;&#160;</a></span>COAP_RESPONSE_400</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_400&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(400)  /* 4.00 Bad Request */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00165">165</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad2f7784d510119027fc449332a010cb9" name="ad2f7784d510119027fc449332a010cb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2f7784d510119027fc449332a010cb9">&#9670;&#160;</a></span>COAP_RESPONSE_404</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_404&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(404)  /* 4.04 Not Found */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00166">166</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a444d5721d0e18cd7b83868df7ac1f85c" name="a444d5721d0e18cd7b83868df7ac1f85c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a444d5721d0e18cd7b83868df7ac1f85c">&#9670;&#160;</a></span>COAP_RESPONSE_405</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_405&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(405)  /* 4.05 Method Not Allowed */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00167">167</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac808e7858bd2d471a5a20d36c110e87c" name="ac808e7858bd2d471a5a20d36c110e87c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac808e7858bd2d471a5a20d36c110e87c">&#9670;&#160;</a></span>COAP_RESPONSE_415</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_415&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(415)  /* 4.15 Unsupported Media Type */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00168">168</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a96033c46c68ab1fd08c655a36fea43b1" name="a96033c46c68ab1fd08c655a36fea43b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96033c46c68ab1fd08c655a36fea43b1">&#9670;&#160;</a></span>COAP_RESPONSE_500</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_500&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(500)  /* 5.00 Internal Server Error */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00169">169</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a696b2bf2ac3f1377f9f37f33885f54ff" name="a696b2bf2ac3f1377f9f37f33885f54ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a696b2bf2ac3f1377f9f37f33885f54ff">&#9670;&#160;</a></span>COAP_RESPONSE_501</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_501&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(501)  /* 5.01 Not Implemented */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00170">170</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a1fc517df88230dd8d9967d2c9328bd08" name="a1fc517df88230dd8d9967d2c9328bd08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fc517df88230dd8d9967d2c9328bd08">&#9670;&#160;</a></span>COAP_RESPONSE_503</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_503&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(503)  /* 5.03 Service Unavailable */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00171">171</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a71175eecbbbad57a25a8c1c438e92f21" name="a71175eecbbbad57a25a8c1c438e92f21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71175eecbbbad57a25a8c1c438e92f21">&#9670;&#160;</a></span>COAP_RESPONSE_504</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_504&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(504)  /* 5.04 Gateway Timeout */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00172">172</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a69a63fe3b38001521e87a71b2011750b" name="a69a63fe3b38001521e87a71b2011750b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69a63fe3b38001521e87a71b2011750b">&#9670;&#160;</a></span>COAP_RESPONSE_CLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">C</td><td>)</td>
          <td>&#160;&#160;&#160;(((C) &gt;&gt; 5) &amp; 0xFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00135">135</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a651de743c1ff3168c875820cf327b1d6" name="a651de743c1ff3168c875820cf327b1d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a651de743c1ff3168c875820cf327b1d6">&#9670;&#160;</a></span>COAP_RESPONSE_CODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_CODE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">N</td><td>)</td>
          <td>&#160;&#160;&#160;(((N)/100 &lt;&lt; 5) | (N)%100)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00132">132</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0510d7589c2bc0ee5767229c61f454c1" name="a0510d7589c2bc0ee5767229c61f454c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0510d7589c2bc0ee5767229c61f454c1">&#9670;&#160;</a></span>COAP_RESPONSE_X_242</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_RESPONSE_X_242&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a651de743c1ff3168c875820cf327b1d6">COAP_RESPONSE_CODE</a>(402)  /* Critical Option not supported */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00177">177</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="af6d5cf87a33203370b28929a8364cc6a" name="af6d5cf87a33203370b28929a8364cc6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6d5cf87a33203370b28929a8364cc6a">&#9670;&#160;</a></span>COAP_SIGNALING_ABORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_ABORT&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(705)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00184">184</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a652dc0a109bcd30123471a714af405dc" name="a652dc0a109bcd30123471a714af405dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a652dc0a109bcd30123471a714af405dc">&#9670;&#160;</a></span>COAP_SIGNALING_CODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_CODE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">N</td><td>)</td>
          <td>&#160;&#160;&#160;(((N)/100 &lt;&lt; 5) | (N)%100)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00179">179</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a63bb73e0bfcbc80e6c4ba9e3c1f8ee32" name="a63bb73e0bfcbc80e6c4ba9e3c1f8ee32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63bb73e0bfcbc80e6c4ba9e3c1f8ee32">&#9670;&#160;</a></span>COAP_SIGNALING_CSM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_CSM&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(701)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00180">180</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a0e6cc4d6c3d7399548623f421da67483" name="a0e6cc4d6c3d7399548623f421da67483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e6cc4d6c3d7399548623f421da67483">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_ALTERNATIVE_ADDRESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_ALTERNATIVE_ADDRESS&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00192">192</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="af537e146bc0612471000eac95108182e" name="af537e146bc0612471000eac95108182e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af537e146bc0612471000eac95108182e">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_BAD_CSM_OPTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_BAD_CSM_OPTION&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00195">195</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a8ccd8621181b13b832efed665539dd62" name="a8ccd8621181b13b832efed665539dd62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ccd8621181b13b832efed665539dd62">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_BLOCK_WISE_TRANSFER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_BLOCK_WISE_TRANSFER&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00188">188</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab1709ea7c61e18152310b537e09b6fee" name="ab1709ea7c61e18152310b537e09b6fee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1709ea7c61e18152310b537e09b6fee">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_CUSTODY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_CUSTODY&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00190">190</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ae5f2b4c5c76e860d4b8b3aefeea91881" name="ae5f2b4c5c76e860d4b8b3aefeea91881"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5f2b4c5c76e860d4b8b3aefeea91881">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_HOLD_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_HOLD_OFF&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00193">193</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="af5bbc4f5f7dc78bec5a7a9f74d88a20d" name="af5bbc4f5f7dc78bec5a7a9f74d88a20d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bbc4f5f7dc78bec5a7a9f74d88a20d">&#9670;&#160;</a></span>COAP_SIGNALING_OPTION_MAX_MESSAGE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_OPTION_MAX_MESSAGE_SIZE&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00187">187</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="adc8e9f46192e447fc87423e412a7cee7" name="adc8e9f46192e447fc87423e412a7cee7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc8e9f46192e447fc87423e412a7cee7">&#9670;&#160;</a></span>COAP_SIGNALING_PING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_PING&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(702)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00181">181</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="a3920fed2c2ffc3b40a9e495e47dfe17f" name="a3920fed2c2ffc3b40a9e495e47dfe17f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3920fed2c2ffc3b40a9e495e47dfe17f">&#9670;&#160;</a></span>COAP_SIGNALING_PONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_PONG&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(703)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00182">182</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ad3712b5b4c91bdacf40ae73f7f38070a" name="ad3712b5b4c91bdacf40ae73f7f38070a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3712b5b4c91bdacf40ae73f7f38070a">&#9670;&#160;</a></span>COAP_SIGNALING_RELEASE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAP_SIGNALING_RELEASE&#160;&#160;&#160;<a class="el" href="pdu_8h.html#a652dc0a109bcd30123471a714af405dc">COAP_SIGNALING_CODE</a>(704)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00183">183</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ab6e43ca6d4347d1ecb3520098adfde8a" name="ab6e43ca6d4347d1ecb3520098adfde8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6e43ca6d4347d1ecb3520098adfde8a">&#9670;&#160;</a></span>COAPS_DEFAULT_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COAPS_DEFAULT_PORT&#160;&#160;&#160;5684 /* CoAP default UDP/TCP port for secure transmission */</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00029">29</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a7bd61dac6c3a6820e022c14ef09940c3" name="a7bd61dac6c3a6820e022c14ef09940c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bd61dac6c3a6820e022c14ef09940c3">&#9670;&#160;</a></span>coap_pdu_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>structure for CoAP PDUs token, if any, follows the fixed size header, then options until payload marker (0xff), then the payload if stored inline. </p>
<p>Memory layout is: &lt;&mdash;header&mdash;&gt;|&lt;&mdash;token&mdash;&gt;&lt;&mdash;options&mdash;&gt;0xff&lt;&mdash;payload&mdash;&gt; header is addressed with a negative offset to token, its maximum size is max_hdr_size. options starts at token + token_length payload starts at data, its length is used_size - (data - token) </p>

</div>
</div>
<a id="a9f23fe72ad67820dcdf888bb8b619dde" name="a9f23fe72ad67820dcdf888bb8b619dde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f23fe72ad67820dcdf888bb8b619dde">&#9670;&#160;</a></span>coap_proto_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00337">337</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<a id="ac60fb9284ace878df3db4a2d621d9a8d" name="ac60fb9284ace878df3db4a2d621d9a8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac60fb9284ace878df3db4a2d621d9a8d">&#9670;&#160;</a></span>coap_tid_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="pdu_8h.html#ac60fb9284ace878df3db4a2d621d9a8d">coap_tid_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>coap_tid_t is used to store CoAP transaction id, i.e. </p>
<p>a hash value built from the remote transport address and the message id of a CoAP PDU. Valid transaction ids are greater or equal zero. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8h_source.html#l00238">238</a> of file <a class="el" href="pdu_8h_source.html">pdu.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="af71a3f810ab9f0f657c25c425826af40" name="af71a3f810ab9f0f657c25c425826af40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af71a3f810ab9f0f657c25c425826af40">&#9670;&#160;</a></span>coap_add_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_add_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds given data to the pdu that is passed as first parameter. </p>
<p>Note that the PDU's data is destroyed by <a class="el" href="pdu_8h.html#aa1314f60fbc25733cfabaa975adc5aae" title="Adds option of given type to pdu that is passed as first parameter.">coap_add_option()</a>. <a class="el" href="pdu_8h.html#af71a3f810ab9f0f657c25c425826af40" title="Adds given data to the pdu that is passed as first parameter.">coap_add_data()</a> must be called only once per PDU, otherwise the result is undefined. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00302">302</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a3b73fa26504e7a8da604375d1146b7e3" name="a3b73fa26504e7a8da604375d1146b7e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b73fa26504e7a8da604375d1146b7e3">&#9670;&#160;</a></span>coap_add_data_after()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> * coap_add_data_after </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds given data to the pdu that is passed as first parameter but does not copyt it. </p>
<p>Note that the PDU's data is destroyed by <a class="el" href="pdu_8h.html#aa1314f60fbc25733cfabaa975adc5aae" title="Adds option of given type to pdu that is passed as first parameter.">coap_add_option()</a>. <a class="el" href="pdu_8h.html#af71a3f810ab9f0f657c25c425826af40" title="Adds given data to the pdu that is passed as first parameter.">coap_add_data()</a> must be have been called once for this PDU, otherwise the result is undefined. The actual data must be copied at the returned location. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00314">314</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="aa1314f60fbc25733cfabaa975adc5aae" name="aa1314f60fbc25733cfabaa975adc5aae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1314f60fbc25733cfabaa975adc5aae">&#9670;&#160;</a></span>coap_add_option()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_add_option </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds option of given type to pdu that is passed as first parameter. </p>
<p><a class="el" href="pdu_8h.html#aa1314f60fbc25733cfabaa975adc5aae" title="Adds option of given type to pdu that is passed as first parameter.">coap_add_option()</a> destroys the PDU's data, so <a class="el" href="pdu_8h.html#af71a3f810ab9f0f657c25c425826af40" title="Adds given data to the pdu that is passed as first parameter.">coap_add_data()</a> must be called after all options have been added. As <a class="el" href="pdu_8h.html#a923f81168ccbbaac1a4ca50837d7be94" title="Adds token of length len to pdu.">coap_add_token()</a> destroys the options following the token, the token must be added before <a class="el" href="pdu_8h.html#aa1314f60fbc25733cfabaa975adc5aae" title="Adds option of given type to pdu that is passed as first parameter.">coap_add_option()</a> is called. This function returns the number of bytes written or <code>0</code> on error. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00229">229</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a47b43066ecb3584af0c425b8ee97db20" name="a47b43066ecb3584af0c425b8ee97db20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47b43066ecb3584af0c425b8ee97db20">&#9670;&#160;</a></span>coap_add_option_later()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> * coap_add_option_later </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds option of given type to pdu that is passed as first parameter, but does not write a value. </p>
<p>It works like coap_add_option with respect to calling sequence (i.e. after token and before data). This function returns a memory address to which the option data has to be written before the PDU can be sent, or <code>NULL</code> on error. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00266">266</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a923f81168ccbbaac1a4ca50837d7be94" name="a923f81168ccbbaac1a4ca50837d7be94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a923f81168ccbbaac1a4ca50837d7be94">&#9670;&#160;</a></span>coap_add_token()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_add_token </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds token of length <code>len</code> to <code>pdu</code>. </p>
<p>Adding the token destroys any following contents of the pdu. Hence options and data must be added after <a class="el" href="pdu_8h.html#a923f81168ccbbaac1a4ca50837d7be94" title="Adds token of length len to pdu.">coap_add_token()</a> has been called. In <code>pdu</code>, length is set to <code>len</code> + <code>4</code>, and max_delta is set to <code>0</code>. This function returns <code>0</code> on error or a value greater than zero on success.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pdu</td><td>The PDU where the token is to be added. </td></tr>
    <tr><td class="paramname">len</td><td>The length of the new token. </td></tr>
    <tr><td class="paramname">data</td><td>The token to add.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value greater than zero on success, or <code>0</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00205">205</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="aad4941e111fdd57ed08b614bb9e7f594" name="aad4941e111fdd57ed08b614bb9e7f594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad4941e111fdd57ed08b614bb9e7f594">&#9670;&#160;</a></span>coap_delete_pdu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void coap_delete_pdu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Dispose of an CoAP PDU and frees associated storage. </p>
<p>Not that in general you should not call this function directly. When a PDU is sent with <a class="el" href="net_8c.html#ab0b0b5db03427c4313c01ec2b12cf8ed" title="Sends a CoAP message to given peer.">coap_send()</a>, <a class="el" href="pdu_8h.html#aad4941e111fdd57ed08b614bb9e7f594" title="Dispose of an CoAP PDU and frees associated storage.">coap_delete_pdu()</a> will be called automatically for you. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00141">141</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a6701e5ec876a5ce59c7892f66d46c67b" name="a6701e5ec876a5ce59c7892f66d46c67b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6701e5ec876a5ce59c7892f66d46c67b">&#9670;&#160;</a></span>coap_get_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_get_data </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> **&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves the length and data pointer of specified PDU. </p>
<p>Returns 0 on error or 1 if *len and *data have correct values. Note that these values are destroyed with the pdu. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00332">332</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="ade1a728d3049d57703d805e71d0a38dd" name="ade1a728d3049d57703d805e71d0a38dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade1a728d3049d57703d805e71d0a38dd">&#9670;&#160;</a></span>coap_new_pdu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> * coap_new_pdu </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structcoap__session__t.html">coap_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new CoAP PDU. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00131">131</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a9dbdf354e2da5e80fea4c0d4a8df6d05" name="a9dbdf354e2da5e80fea4c0d4a8df6d05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dbdf354e2da5e80fea4c0d4a8df6d05">&#9670;&#160;</a></span>coap_pdu_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void coap_pdu_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears any contents from <code>pdu</code> and resets <code>used_size</code>, and <code>data</code> pointers. </p>
<p><code>max_size</code> is set to <code>size</code>, any other field is set to <code>0</code>. Note that <code>pdu</code> must be a valid pointer to a <a class="el" href="structcoap__pdu__t.html" title="structure for CoAP PDUs token, if any, follows the fixed size header, then options until payload mark...">coap_pdu_t</a> object created e.g. by <a class="el" href="pdu_8h.html#a4f019ad11b0f633524175488aecbd7d1" title="Creates a new CoAP PDU with at least enough storage space for the given size maximum message size.">coap_pdu_init()</a>. </p>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00046">46</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="ab5e81fe5717f977c62b7ef427d946c35" name="ab5e81fe5717f977c62b7ef427d946c35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5e81fe5717f977c62b7ef427d946c35">&#9670;&#160;</a></span>coap_pdu_encode_header()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_pdu_encode_header </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compose the protocol specific header for the specified PDU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pdu</td><td>A newly composed PDU. </td></tr>
    <tr><td class="paramname">proto</td><td>The target wire protocol. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of header bytes prepended before pdu-&gt;token or 0 on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00582">582</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a4f019ad11b0f633524175488aecbd7d1" name="a4f019ad11b0f633524175488aecbd7d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f019ad11b0f633524175488aecbd7d1">&#9670;&#160;</a></span>coap_pdu_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> * coap_pdu_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
          <td class="paramname"><em>code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>tid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new CoAP PDU with at least enough storage space for the given <code>size</code> maximum message size. </p>
<p>The function returns a pointer to the node <a class="el" href="structcoap__pdu__t.html" title="structure for CoAP PDUs token, if any, follows the fixed size header, then options until payload mark...">coap_pdu_t</a> object on success, or <code>NULL</code> on error. The storage allocated for the result must be released with <a class="el" href="pdu_8h.html#aad4941e111fdd57ed08b614bb9e7f594" title="Dispose of an CoAP PDU and frees associated storage.">coap_delete_pdu()</a> if <a class="el" href="net_8c.html#ab0b0b5db03427c4313c01ec2b12cf8ed" title="Sends a CoAP message to given peer.">coap_send()</a> is not called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of the PDU (one of COAP_MESSAGE_CON, COAP_MESSAGE_NON, COAP_MESSAGE_ACK, COAP_MESSAGE_RST). </td></tr>
    <tr><td class="paramname">code</td><td>The message code. </td></tr>
    <tr><td class="paramname">tid</td><td>The transcation id to set or 0 if unknown / not applicable. </td></tr>
    <tr><td class="paramname">size</td><td>The maximum allowed number of byte for the message. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the new PDU object or <code>NULL</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00091">91</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="ab9981ea277da8bc4e5c4f82d6ca4c006" name="ab9981ea277da8bc4e5c4f82d6ca4c006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9981ea277da8bc4e5c4f82d6ca4c006">&#9670;&#160;</a></span>coap_pdu_parse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_pdu_parse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td>
          <td class="paramname"><em>proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parses <code>data</code> into the CoAP PDU structure given in <code>result</code>. </p>
<p>The target pdu must be large enough to This function returns <code>0</code> on error or a number greater than zero on success.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>Session's protocol </td></tr>
    <tr><td class="paramname">data</td><td>The raw data to parse as CoAP PDU. </td></tr>
    <tr><td class="paramname">length</td><td>The actual size of <code>data</code>. </td></tr>
    <tr><td class="paramname">pdu</td><td>The PDU structure to fill. Note that the structure must provide space to hold at least the token and options part of the message.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 on success or <code>0</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00557">557</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a516ac8dae1f2fe33963f80cf15ec59a0" name="a516ac8dae1f2fe33963f80cf15ec59a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a516ac8dae1f2fe33963f80cf15ec59a0">&#9670;&#160;</a></span>coap_pdu_parse_header()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_pdu_parse_header </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decode the protocol specific header for the specified PDU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pdu</td><td>A newly received PDU. </td></tr>
    <tr><td class="paramname">proto</td><td>The target wire protocol. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 for success or 0 on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00474">474</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a53c48f11ca3bc0d2106bd8b76f7430c8" name="a53c48f11ca3bc0d2106bd8b76f7430c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53c48f11ca3bc0d2106bd8b76f7430c8">&#9670;&#160;</a></span>coap_pdu_parse_header_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_pdu_parse_header_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td>
          <td class="paramname"><em>proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interprets <code>data</code> to determine the number of bytes in the header. </p>
<p>This function returns <code>0</code> on error or a number greater than zero on success.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>Session's protocol </td></tr>
    <tr><td class="paramname">data</td><td>The first byte of raw data to parse as CoAP PDU.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value greater than zero on success or <code>0</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00419">419</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="aa7fbcbe0f8d7415e82447747abf31d51" name="aa7fbcbe0f8d7415e82447747abf31d51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7fbcbe0f8d7415e82447747abf31d51">&#9670;&#160;</a></span>coap_pdu_parse_opt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_pdu_parse_opt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Verify consistency in the given CoAP PDU structure and locate the data. </p>
<p>This function returns <code>0</code> on error or a number greater than zero on success. This function only parses the token and options, up to the payload start marker.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pdu</td><td>The PDU structure to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 on success or <code>0</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00506">506</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="ad9460a91b9a9747bc85ff8e48a00f4d1" name="ad9460a91b9a9747bc85ff8e48a00f4d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9460a91b9a9747bc85ff8e48a00f4d1">&#9670;&#160;</a></span>coap_pdu_parse_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_pdu_parse_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td>
          <td class="paramname"><em>proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parses <code>data</code> to extract the message size. </p>
<p><code>length</code> must be at least coap_pdu_parse_header_size(proto, data). This function returns <code>0</code> on error or a number greater than zero on success.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>Session's protocol </td></tr>
    <tr><td class="paramname">data</td><td>The raw data to parse as CoAP PDU. </td></tr>
    <tr><td class="paramname">length</td><td>The actual size of <code>data</code>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value greater than zero on success or <code>0</code> on error. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00442">442</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="add46ce956878a4121e8887b84c6d4a6b" name="add46ce956878a4121e8887b84c6d4a6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add46ce956878a4121e8887b84c6d4a6b">&#9670;&#160;</a></span>coap_pdu_resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_pdu_resize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td>
          <td class="paramname"><em>pdu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>new_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Dynamically grows the size of <code>pdu</code> to <code>new_size</code>. </p>
<p>The new size must not exceed the PDU's configure maximum size. On success, this function returns 1, otherwise 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pdu</td><td>The PDU to resize. </td></tr>
    <tr><td class="paramname">new_size</td><td>The new size in bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if the operation succeeded, 0 otherwise. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00154">154</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
<a id="a0820d2413f167cd92f8267bf0aaa6ecb" name="a0820d2413f167cd92f8267bf0aaa6ecb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0820d2413f167cd92f8267bf0aaa6ecb">&#9670;&#160;</a></span>coap_response_phrase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * coap_response_phrase </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a human-readable response phrase for the specified CoAP response <code>code</code>. </p>
<p>This function returns <code>NULL</code> if not found.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>The response code for which the literal phrase should be retrieved.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A zero-terminated string describing the error, or <code>NULL</code> if not found. </dd></dl>

<p class="definition">Definition at line <a class="el" href="pdu_8c_source.html#l00384">384</a> of file <a class="el" href="pdu_8c_source.html">pdu.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a14d23a24002734ac2a3b997119f008e.html">coap2</a></li><li class="navelem"><a class="el" href="pdu_8h.html">pdu.h</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
